Hey all,
I'm attempting to setup a cron job via the cron resource in puppet.
This is what I'm trying to express via puppet:
*/30 * * * * /usr/bin/facter -y > /etc/mcollective/facts.yaml
This is what I've tried:
cron { "facts-cron":
command => "/usr/bin/facter -y > /etc/mcollective/facts.yaml",
user => 'root',
hour => 0,
minute => '0/30'
}
And this is the error I'm getting:
Error: Failed to apply catalog: Parameter minute failed on Cron[facts-cron]: 0/30 is not a valid minute at /etc/puppet/environments/production/modules/mcollective/manifests/config.pp:18
Wrapped exception:
0/30 is not a valid minute
What's the best way to ask for a cron job to run every 30 minutes in pupppet-ese?
Thank you,
Tim
--