Fixed puppetmaster SELinux errors when using MySQL database.
This commit is contained in:
parent
3279af1208
commit
0caea7286f
1 changed files with 5 additions and 0 deletions
|
@ -271,6 +271,11 @@ class puppet::server::common inherits puppet::client {
|
|||
}
|
||||
"mysql": {
|
||||
require ruby::mysql
|
||||
if $::operatingsystem == "CentOS" and $::operatingsystemrelease !~ /^[1-5]\..*/ {
|
||||
selinux::boolean { "puppetmaster_use_db":
|
||||
value => "on",
|
||||
}
|
||||
}
|
||||
}
|
||||
default: {
|
||||
fail("Invalid value ${puppet_dbadapter} for variable \$puppet_dbadapter.")
|
||||
|
|
Loading…
Add table
Reference in a new issue