puppet: Fix puppet binary selinux context for Puppet 3
This commit is contained in:
parent
d785e48a55
commit
a3b970ab8e
1 changed files with 8 additions and 0 deletions
|
@ -67,6 +67,14 @@ class puppet::client {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if versioncmp($::puppetversion, "3") >= 0 {
|
||||||
|
selinux::manage_fcontext { "/usr/bin/puppet":
|
||||||
|
type => "puppet_exec_t",
|
||||||
|
recurse => false,
|
||||||
|
before => Service["puppet"],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
"openbsd": {
|
"openbsd": {
|
||||||
service { "puppet":
|
service { "puppet":
|
||||||
|
|
Loading…
Add table
Reference in a new issue