diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-05-08 11:17:01 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-05-08 11:17:01 -0300 |
commit | c83a4e3ee251617535d1dd432f6bea6792fc5c5a (patch) | |
tree | e51b2a017f74a4144685aa5231949ffe13fffbe9 | |
parent | 982f7235ee7a1b68ba7718e4546c834d4ec1f8a2 (diff) | |
download | puppet-ikiwiki-c83a4e3ee251617535d1dd432f6bea6792fc5c5a.tar.gz puppet-ikiwiki-c83a4e3ee251617535d1dd432f6bea6792fc5c5a.tar.bz2 |
Securing setup files
-rw-r--r-- | manifests/init.pp | 6 |
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}"], } |