From 911353cab4122ef1b6ed6f120e8fb03c26aca021 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 23 Feb 2011 18:12:57 -0300 Subject: Fixing /etc/puppet and puppet.conf permissions --- manifests/puppet.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'manifests/puppet.pp') diff --git a/manifests/puppet.pp b/manifests/puppet.pp index 8000f47..2f023df 100644 --- a/manifests/puppet.pp +++ b/manifests/puppet.pp @@ -17,8 +17,16 @@ class puppet { file { "/etc/puppet": ensure => directory, owner => puppet, - group => puppet, + group => root, recurse => inf, require => User["puppet"], } + + file { "/etc/puppet/puppet.conf": + ensure => present, + owner => puppet, + group => root, + mode => 0640, + require => User["puppet"], + } } -- cgit v1.2.3