puppet: Fix puppet binary selinux context for Puppet 3

This commit is contained in:
Ossi Salmi 2013-08-14 14:24:18 +03:00
parent d785e48a55
commit a3b970ab8e

View file

@ -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 {
"openbsd": {
service { "puppet":