-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the way SELinux is applied for portnumbers #135
Conversation
Hi @ralfbosz the subject of the pull request could be more precise. It sounds a lot more alarming than it currently is. |
7d5a5aa
to
7cf2b57
Compare
Tests failed due to failed download - rerunning. |
2393e92
to
142fed8
Compare
@ralfbosz happy with that title? More useful in the eventual changelog I think. |
142fed8
to
156ca8f
Compare
Adjusted the commit title... |
From the review docs:
|
156ca8f
to
13b57a8
Compare
13b57a8
to
220eed3
Compare
This comment has been minimized.
This comment has been minimized.
1 similar comment
Dear @ralfbosz, thanks for the PR! This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@alexjfisher is |
manifests/http_port.pp
Outdated
@@ -50,13 +50,13 @@ | |||
order => "30-${order}", | |||
} | |||
|
|||
if $facts['os']['selinux'] == true { | |||
selinux::port{"selinux port squid_port_t ${_port}": | |||
if $facts['selinux'] == true { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please continue to use the modern facts
if $facts['selinux'] == true { | |
if $facts['os']['selinux'] == true { |
|
Dear @ralfbosz, thanks for the PR! This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs? |
@ralfbosz What's the status of this? There's been interest on Slack in getting this merged. |
715407f
to
6848fdf
Compare
Fixed it... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor detail inline, but overall 👍
The module is now able to handle multiple server declarations for the same port on different IPs.
6848fdf
to
bab2643
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Travis is still running, but the code looks good.
When declaring serveral http_ports with different IP's, but the same portnumber a resource conflict would arise on the selinux-part. Changed the selinux::port to an "ensure_resource", hence fixing issue #120.