aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-10 17:33:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-10 17:33:29 -0300
commitf7b82683b2aad306fd0ce9a67071b7abc6721f03 (patch)
tree7669203b6fe4e21ec7f9f4bd8cf5733362f05124
parent6e8d73eb57d818bd441414c4b98a10fbf1ef1d56 (diff)
downloadpuppet-ikiwiki-f7b82683b2aad306fd0ce9a67071b7abc6721f03.tar.gz
puppet-ikiwiki-f7b82683b2aad306fd0ce9a67071b7abc6721f03.tar.bz2
Cannot get rid of setuid on post-update
-rw-r--r--manifests/instance.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/instance.pp b/manifests/instance.pp
index ba0db0d..82ae0fa 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -74,9 +74,9 @@ define ikiwiki::instance($base_url = $domain, $ensure = 'present', $description
file { "/var/git/repositories/${name}.git/hooks/post-update":
ensure => present,
- owner => $ikiwiki::git_implementation,
+ owner => $owner,
group => $ikiwiki::git_implementation,
- mode => 0755,
+ mode => 6550,
require => File["/etc/ikiwiki/$name.setup"],
}