From 347d7a6eaf0449c477047db1b225c0fc9ab88a72 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 11 Apr 2013 17:32:53 -0300 Subject: Refactor scripts to run as root --- manifests/instance.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/instance.pp') diff --git a/manifests/instance.pp b/manifests/instance.pp index e563b97..06f3cc8 100644 --- a/manifests/instance.pp +++ b/manifests/instance.pp @@ -21,7 +21,7 @@ define ikiwiki::instance($base_url = $domain, $ensure = 'present', $description exec { "ikiwiki_refresh_${name}_${instance}": command => "/usr/local/sbin/ikiwiki-refresh $name $instance $owner $group", - user => $owner, + user => root, refreshonly => true, } -- cgit v1.2.3