diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-14 11:05:05 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-14 11:05:05 -0200 |
commit | 05cf4d282373671adcc6beb91c668d35f5cedd41 (patch) | |
tree | 990983d3acc106ded439578df5dd31bbb4aa6a00 | |
parent | 4bf58939f5e9624a809396772aecd5f5e666bc52 (diff) | |
download | puppet-drupal-05cf4d282373671adcc6beb91c668d35f5cedd41.tar.gz puppet-drupal-05cf4d282373671adcc6beb91c668d35f5cedd41.tar.bz2 |
Auto-upgrades should run as root
-rw-r--r-- | manifests/autoupgrade.pp | 4 |
1 files changed, 2 insertions, 2 deletions
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", |