From a344112d7ad3885ac66d9f3922dea38db75a9320 Mon Sep 17 00:00:00 2001 From: Bryan Kearney Date: Wed, 7 Mar 2012 08:12:46 -0500 Subject: [PATCH] 798435: Make the pulp.conf file readable only by the apache user (cherry picked from commit 63dade5bcce250f5d93e8461fe89170e9eb86003) --- puppet/modules/pulp/manifests/config.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/puppet/modules/pulp/manifests/config.pp b/puppet/modules/pulp/manifests/config.pp index b96ebc4c099..03a1e33ef10 100644 --- a/puppet/modules/pulp/manifests/config.pp +++ b/puppet/modules/pulp/manifests/config.pp @@ -10,6 +10,8 @@ "/etc/pulp/pulp.conf": content => template("pulp/etc/pulp/pulp.conf.erb"), require => File["/var/lib/pulp/packages"], + owner=>"apache", + mode=>"600", before => [Class["apache2::service"]]; "/etc/httpd/conf.d/pulp.conf": content => template("pulp/etc/httpd/conf.d/pulp.conf.erb"),