aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-08 11:17:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-08 11:17:01 -0300
commitc83a4e3ee251617535d1dd432f6bea6792fc5c5a (patch)
treee51b2a017f74a4144685aa5231949ffe13fffbe9 /manifests
parent982f7235ee7a1b68ba7718e4546c834d4ec1f8a2 (diff)
downloadpuppet-ikiwiki-c83a4e3ee251617535d1dd432f6bea6792fc5c5a.tar.gz
puppet-ikiwiki-c83a4e3ee251617535d1dd432f6bea6792fc5c5a.tar.bz2
Securing setup files
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 4331258..9816cb5 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -37,9 +37,9 @@ class ikiwiki {
file { "/etc/ikiwiki/$name.setup":
ensure => present,
content => template('ikiwiki/ikiwiki.setup.erb'),
- owner => root,
- group => root,
- mode => 644,
+ owner => www-data,
+ group => www-data,
+ mode => 640,
notify => Exec["ikiwiki_refresh_${name}"],
}