From 483e40d410ce495cc4d6ad0265b3a1948b72e493 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Wed, 30 Sep 2015 23:46:07 -0400 Subject: give a default value to $cron_time This'll make it configure the cron job to a 30mins interval randomly displaced within the hour. It's still possible to set $cron_time to a full cron time spec to set run times manually. --- manifests/cron.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/cron.pp b/manifests/cron.pp index c26e079..4ac6cb4 100644 --- a/manifests/cron.pp +++ b/manifests/cron.pp @@ -1,6 +1,6 @@ # run puppet agent as cron class puppet::cron( - $cron_time, + $cron_time = false, $stop_service = true, $config = '/etc/puppet/puppet.conf', $config_content = false, -- cgit v1.2.3