diff options
author | mh <mh@immerda.ch> | 2010-08-08 22:22:10 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-08-08 22:22:10 +0200 |
commit | 51231e2f4bf4990e33d5d1b098fba62286e676f0 (patch) | |
tree | 9e2ccfbf25c789129e4047ebabef1d1babaec796 /manifests/cron | |
parent | fa22657268eca9fa369e8c9ca31032c38e948e4b (diff) |
correctly quote new cron time
Diffstat (limited to 'manifests/cron')
-rw-r--r-- | manifests/cron/linux.pp | 2 | ||||
-rw-r--r-- | manifests/cron/openbsd.pp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/cron/linux.pp b/manifests/cron/linux.pp index 46735e0..3343546 100644 --- a/manifests/cron/linux.pp +++ b/manifests/cron/linux.pp @@ -6,7 +6,7 @@ class puppet::cron::linux inherits puppet::linux { if !$puppet_crontime { $puppet_crontime_interval_minute = fqdn_rand(29) $puppet_crontime_interval_minute2 = inline_template('<%= 30+puppet_crontime_interval_minute.to_i %>') - $puppet_crontime = '${puppet_crontime_interval_minute},${puppet_crontime_interval_minute2} * * * *' + $puppet_crontime = "${puppet_crontime_interval_minute},${puppet_crontime_interval_minute2} * * * *" } File['/etc/cron.d/puppetd.cron']{ diff --git a/manifests/cron/openbsd.pp b/manifests/cron/openbsd.pp index 0de07ea..aeee178 100644 --- a/manifests/cron/openbsd.pp +++ b/manifests/cron/openbsd.pp @@ -5,7 +5,7 @@ class puppet::cron::openbsd inherits puppet::openbsd { if !$puppet_crontime { $puppet_crontime_interval_minute = fqdn_rand(29) $puppet_crontime_interval_minute2 = inline_template('<%= 30+puppet_crontime_interval_minute.to_i %>') - $puppet_crontime = '${puppet_crontime_interval_minute},${puppet_crontime_interval_minute2} * * * *' + $puppet_crontime = "${puppet_crontime_interval_minute},${puppet_crontime_interval_minute2} * * * *" } Openbsd::Rc_local['puppetd']{ |