From 37c48a2ff17d009bd01a49988885e749149f0436 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 25 Dec 2017 11:46:37 +0100 Subject: [PATCH] re-add lost cronjob line --- modules/debian_org/templates/dsa-puppet-stuff.cron.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/debian_org/templates/dsa-puppet-stuff.cron.erb b/modules/debian_org/templates/dsa-puppet-stuff.cron.erb index 73679cfb6..b1d553de0 100644 --- a/modules/debian_org/templates/dsa-puppet-stuff.cron.erb +++ b/modules/debian_org/templates/dsa-puppet-stuff.cron.erb @@ -1,4 +1,6 @@ +@hourly root [ ! -d /var/cache/dsa ] || touch /var/cache/dsa/cron.alive + <% if scope.call_function('versioncmp', [@puppetversion.to_s, '3.0.0']) <= 0 -%> 34 */4 * * * root if [ -x /usr/sbin/puppetd ]; then sleep $(( $RANDOM \% 7200 )); if [ -x /usr/bin/timeout ]; then TO="timeout --kill-after=900 3600"; else TO=""; fi; tmp="$(tempfile)"; egrep -v '^(#|$)' /etc/dsa/cron.ignore.dsa-puppet-stuff > "$tmp" && $TO /usr/sbin/puppetd -o --no-daemonize 2>&1 | egrep --text -v -f "$tmp"; rm -f "$tmp"; fi <% else -%> -- 2.20.1