aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/instance.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/instance.pp b/manifests/instance.pp
index d848624..8aeb291 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -14,14 +14,14 @@ define ikiwiki::instance($base_url = $domain, $ensure = 'present', $description
ensure => present,
content => template('ikiwiki/ikiwiki.setup.erb'),
owner => root,
- group => $owner,
+ group => $group,
mode => 640,
notify => Exec["ikiwiki_refresh_${name}_${instance}"],
}
exec { "ikiwiki_refresh_${name}_${instance}":
command => "/usr/local/sbin/ikiwiki-refresh $name $instance $owner $group",
- user => root,
+ user => $owner,
refreshonly => true,
}