From a38058d5e8bcb608d2e66bf42260d22e60e25a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Mon, 1 May 2017 22:24:33 +0200 Subject: bugzilla : Fix crontab --- modules/bugzilla/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 367b52e4..0e7466e1 100755 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -186,8 +186,8 @@ class bugzilla { minute => 0, } cron { 'sanitycheck': - command => "$bugzilla_location/sanitycheck.pl --login LpSolit@netscape.net", - user => 'apache', + command => "cd $bugzilla_location && $bugzilla_location/sanitycheck.pl --login LpSolit@netscape.net", + user => 'root', hour => 21, minute => 0, } -- cgit v1.2.1