diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-25 19:15:35 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-25 19:15:35 -0200 |
commit | c547fbda55bd8b7fdd2acc190ee2f7cf758e6986 (patch) | |
tree | 660fe190ddb8e123117489bd8d73bf6a632f3a76 | |
parent | c61a929c1e7107af9e5dc4de72bb02aed4f10d09 (diff) | |
download | puppet-ikiwiki-c547fbda55bd8b7fdd2acc190ee2f7cf758e6986.tar.gz puppet-ikiwiki-c547fbda55bd8b7fdd2acc190ee2f7cf758e6986.tar.bz2 |
Ensuring post-update hook is setuid www-data
-rw-r--r-- | manifests/init.pp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 3be6bdb..65dc2cb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -86,12 +86,11 @@ class ikiwiki { # See http://ikiwiki.info/rcs/git/ # http://ikiwiki.info/forum/multi-user_setup_of_ikiwiki__44___gitosis_and_apache2_in_Debian_Sid/ # - # TODO: ensure the post-update hook is setuid. - # file { "/var/git/repositories/${name}.git/hooks/post-update": ensure => present, owner => www-data, group => gitosis, + mode => 4550, } } } |