From: Silvio Rhatto Date: Tue, 14 Nov 2017 13:05:05 +0000 (-0200) Subject: Auto-upgrades should run as root X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=05cf4d282373671adcc6beb91c668d35f5cedd41;p=puppet-drupal.git Auto-upgrades should run as root --- diff --git a/manifests/autoupgrade.pp b/manifests/autoupgrade.pp index c4a22cc..2bd5c1f 100644 --- a/manifests/autoupgrade.pp +++ b/manifests/autoupgrade.pp @@ -2,7 +2,7 @@ class drupal::autoupgrade { # Keep 8.x codebase updated cron { "drupal-autoupgrade-8.x": command => "/usr/local/bin/drupal upgrade 8", - user => drupal, + user => root, # Run once a week after security releases (usually on Wednesdays) weekday => 5, hour => "01", @@ -14,7 +14,7 @@ class drupal::autoupgrade { # Keep 7.x codebase updated cron { "drupal-autoupgrade-7.x": command => "/usr/local/bin/drupal upgrade 7", - user => drupal, + user => root, # Run once a week after security releases (usually on Wednesdays) weekday => 5, hour => "01",