From 26b9b5941cb10bfb122a309e08e808441305997c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Wed, 8 Aug 2012 10:27:30 +0300 Subject: [PATCH] Fixed puppet::server SELinux context change when no $puppet_datadir is set. --- puppet/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp index ada7532..f0fa9db 100644 --- a/puppet/manifests/init.pp +++ b/puppet/manifests/init.pp @@ -322,7 +322,7 @@ class puppet::server::common inherits puppet::client { } selinux::manage_fcontext { "/srv/puppet(/.*)?": type => $seltype, - before => File[$puppet_datadir], + before => File["/srv/puppet"], } if $puppet_storeconfigs != "none" {