puppet: Fixes for puppetmaster SELinux contexts.
This commit is contained in:
parent
c106c54103
commit
e56702c0d0
1 changed files with 5 additions and 1 deletions
|
@ -352,10 +352,14 @@ class puppet::server::common inherits puppet::client {
|
|||
seltype => "usr_t",
|
||||
require => File[$puppet_datadir],
|
||||
}
|
||||
selinux::manage_fcontext { "/srv/puppet(/.*)?":
|
||||
selinux::manage_fcontext { "/srv/puppet":
|
||||
type => "usr_t",
|
||||
before => File["/srv/puppet"],
|
||||
}
|
||||
selinux::manage_fcontext { "/srv/puppet/.*":
|
||||
type => $seltype,
|
||||
before => File["/srv/puppet"],
|
||||
}
|
||||
} else {
|
||||
file { "/srv/puppet":
|
||||
ensure => directory,
|
||||
|
|
Loading…
Add table
Reference in a new issue