]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-spar-checker activate cronjobs
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Wed, 1 Nov 2017 09:42:18 +0000 (10:42 +0100)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Wed, 1 Nov 2017 09:42:18 +0000 (10:42 +0100)
customer/spk-spar-checker/production.yaml

index 713a3336285cd95e51a51b04e559b05f9df3db56..e9932ff0e0f242f28af315436c9e0f7291603aaf 100644 (file)
@@ -192,7 +192,7 @@ infra::profile::apache::pp_vhosts:
 
 infra::profile::cron::cronjobs:
   clear_tokens:
-    ensure: 'absent'
+    ensure: 'present'
     user: apache
     command: 'echo >> $LOG; date >> $LOG; php /var/www/spar-checker/sparchecker-backend/cli.php tokens-clear >>$LOG 2>&1'
     minute: '*/30'
@@ -202,7 +202,7 @@ infra::profile::cron::cronjobs:
       - 'LOG=/var/www/log/cron/clear.token.log'
     description: clear tokens
   ping_api:
-    ensure: 'absent'
+    ensure: 'present'
     user: apache
     command: 'echo >> $LOG; date >> $LOG; php /var/www/spar-checker/sparchecker-backend/cli.php api-pinger >>$LOG 2>&1'
     minute: '*/5'