puppet: Fixed puppet::client for CentOS 7.
This commit is contained in:
parent
f2aabbfe6c
commit
e784933edb
1 changed files with 6 additions and 4 deletions
|
@ -80,10 +80,12 @@ class puppet::client {
|
||||||
}
|
}
|
||||||
|
|
||||||
if versioncmp($::puppetversion, "3") >= 0 {
|
if versioncmp($::puppetversion, "3") >= 0 {
|
||||||
selinux::manage_fcontext { "/usr/bin/puppet":
|
if $::operatingsystem in ["CentOS","RedHat"] and $::operatingsystemrelease =~ /^[1-6]\..*/ {
|
||||||
type => "puppet_exec_t",
|
selinux::manage_fcontext { "/usr/bin/puppet":
|
||||||
recurse => false,
|
type => "puppet_exec_t",
|
||||||
before => Service["puppet"],
|
recurse => false,
|
||||||
|
before => Service["puppet"],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue