Fixed puppet::server SELinux context change when no $puppet_datadir is set.

This commit is contained in:
Timo Mkinen 2012-08-08 10:27:30 +03:00
parent e81f5e84a1
commit 26b9b5941c

View file

@ -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" {