summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2015-09-30 23:46:07 -0400
committerGabriel Filion <gabster@lelutin.ca>2015-09-30 23:46:07 -0400
commit483e40d410ce495cc4d6ad0265b3a1948b72e493 (patch)
tree95e63e783e35fa412e967a053e8b03a21e6a0c51
parentec3b2e4b0bce960044c9433d0331c133e7fda639 (diff)
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.
-rw-r--r--manifests/cron.pp2
1 files changed, 1 insertions, 1 deletions
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,