aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-14 11:05:05 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-14 11:05:05 -0200
commit05cf4d282373671adcc6beb91c668d35f5cedd41 (patch)
tree990983d3acc106ded439578df5dd31bbb4aa6a00
parent4bf58939f5e9624a809396772aecd5f5e666bc52 (diff)
downloadpuppet-drupal-05cf4d282373671adcc6beb91c668d35f5cedd41.tar.gz
puppet-drupal-05cf4d282373671adcc6beb91c668d35f5cedd41.tar.bz2
Auto-upgrades should run as root
-rw-r--r--manifests/autoupgrade.pp4
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",