Project

General

Profile

« Previous | Next » 

Revision d3bfacad

Added by Ohad Levy about 12 years ago

while I know this is debatable, just added a missing peace for the all in the same minute issue

View differences:

manifests/cron.pp
}
cron {'puppet':
command => "/usr/sbin/puppetd --config ${puppet::params::dir}/puppet.conf -o",
command => "sleep $((RANDOM%59)) && /usr/sbin/puppetd --config ${puppet::params::dir}/puppet.conf -o",
user => root,
minute => ip_to_cron($puppet::params::cron_interval, $puppet::params::cron_range),
}

Also available in: Unified diff