Fixed puppet::server SELinux context change when no $puppet_datadir is set.
This commit is contained in:
parent
e81f5e84a1
commit
26b9b5941c
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ class puppet::server::common inherits puppet::client {
|
||||||
}
|
}
|
||||||
selinux::manage_fcontext { "/srv/puppet(/.*)?":
|
selinux::manage_fcontext { "/srv/puppet(/.*)?":
|
||||||
type => $seltype,
|
type => $seltype,
|
||||||
before => File[$puppet_datadir],
|
before => File["/srv/puppet"],
|
||||||
}
|
}
|
||||||
|
|
||||||
if $puppet_storeconfigs != "none" {
|
if $puppet_storeconfigs != "none" {
|
||||||
|
|
Loading…
Add table
Reference in a new issue