Skip to content
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

fixes #2628 - install foreman-selinux when SELinux is enabled #79

Merged
merged 1 commit into from Jun 12, 2013

Conversation

domcleal
Copy link
Contributor

I'm willing to hold off until #69's merged, assuming we do it pre-1.2 and can add tests for this behaviour.

@GregSutcliffe
Copy link
Member

Untested but looks fine. Travis think you broke the world though ;)

@domcleal
Copy link
Contributor Author

Tests have been broken for a while :)

@@ -29,4 +29,11 @@
ensure => present,
require => $repo,
}

if $foreman::selinux or ($::selinux and $foreman::selinux != false) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think $::selinux is a string since it comes from facter. You may want to use str2bool.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thanks.

@domcleal
Copy link
Contributor Author

Updated with str2bool, added explicit stdlib dep.

@domcleal
Copy link
Contributor Author

Now with tests!

@ekohl
Copy link
Member

ekohl commented Jun 12, 2013

👍 yay for tests :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants