From 05ac911f7a864fb9bd0ed656ebe6fde922b10102 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Tue, 9 Jan 2018 17:54:19 +0100 Subject: [PATCH] vaillant - add cronjob for image cache update --- customer/vaillant/web-vaillantsmile-de.pixelpark.net.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5