From: Thomas Dalichow Date: Tue, 9 Jan 2018 16:54:19 +0000 (+0100) Subject: vaillant - add cronjob for image cache update X-Git-Tag: v0.1.0~1801^2~18 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=05ac911f7a864fb9bd0ed656ebe6fde922b10102;p=pixelpark%2Fhiera.git vaillant - add cronjob for image cache update --- diff --git a/customer/vaillant/web-vaillantsmile-de.pixelpark.net.yaml b/customer/vaillant/web-vaillantsmile-de.pixelpark.net.yaml index 68853140..b8f600ed 100644 --- a/customer/vaillant/web-vaillantsmile-de.pixelpark.net.yaml +++ b/customer/vaillant/web-vaillantsmile-de.pixelpark.net.yaml @@ -6,6 +6,14 @@ infra::additional_classes: - infra::profile::mysql_server - nodejs +infra::profile::cron::cronjobs: + vaillant_cache_update: + user: apache + command: '/usr/local/rvm/wrappers/ruby-2.2.9/bundle exec rake smile:update_image_cache --silent >> /var/www/vaillant/log/cron.log' # 30 days + minute: '0,20,40' + description: Update image cache + + nodejs::repo_url_suffix: '8.x' nodejs::manage_package_repo: true