]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
BERFBB-3679 fix
authorsambufe <samuel.bufe@publicispixelpark.de>
Fri, 23 Feb 2018 13:43:37 +0000 (14:43 +0100)
committersambufe <samuel.bufe@publicispixelpark.de>
Fri, 23 Feb 2018 13:43:37 +0000 (14:43 +0100)
customer/fbb-web/test-web02-berlin-airport-de.pixelpark.net.yaml

index e7e4dd47b330fd2c16eb1e42022a464fb0a51a10..c102b7572aac35f0bf4d53f3c6cdcd9c908b042b 100644 (file)
@@ -40,7 +40,7 @@ infra::profile::nginx_php_fpm_server::location:
 
 infra::profile::cron::cronjobs:
   blog-wordpress-update:
-    command: 'export HTTP_HOST="tst-blog-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/tst-blog-berlin-airport-de/ >/dev/null 2>&1'
+    command: 'sudo -u nginx bash -c \u0027 export HTTP_HOST="tst-blog-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/tst-blog-berlin-airport-de/" >/dev/null 2>&1 \u0027 '
     minute: '0'
     hour: '10'
     date: '*'
@@ -50,7 +50,7 @@ infra::profile::cron::cronjobs:
     environment:
       - 'PATH="/usr/local/bin:/bin"'
   roadmap-wordpress-update:
-    command: 'export HTTP_HOST="tst-berhub-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/tst-berhub-berlin-airport-de/ >/dev/null 2>&1'
+    command: 'sudo -u nginx bash -c \u0027 export HTTP_HOST="tst-berhub-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/tst-berhub-berlin-airport-de/" >/dev/null 2>&1 \u0027 '
     minute: '30'
     hour: '10'
     date: '*'