Fixed SELinux error in puppet module when SELinux is disabled
This commit is contained in:
parent
487b593ef8
commit
bdd90e8b9c
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class puppet::server::common inherits puppet::client {
|
|||
}
|
||||
"mysql": {
|
||||
require ruby::mysql
|
||||
if $::operatingsystem == "CentOS" and $::operatingsystemrelease !~ /^[1-5]\..*/ {
|
||||
if $::selinux == "true" and $::operatingsystem == "CentOS" and $::operatingsystemrelease !~ /^[1-5]\..*/ {
|
||||
selinux::boolean { "puppetmaster_use_db":
|
||||
value => "on",
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue