Re: [Puppet Users] Re: puppet cron help

2015-02-04 Thread Tim Dunphy
> > You can also try this: > https://groups.google.com/forum/#!topic/puppet-users/PZMv4hGpKiM Cool! Thank you, Keith! On Tue, Feb 3, 2015 at 7:34 PM, wrote: > > > On Monday, February 2, 2015 at 5:55:58 PM UTC-5, bluethundr wrote: > >> Hey all, >> >> I'm attempting to setup a cron job via the c

[Puppet Users] Re: puppet cron help

2015-02-03 Thread keith . staley
On Monday, February 2, 2015 at 5:55:58 PM UTC-5, bluethundr wrote: > > 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

Re: [Puppet Users] Re: puppet cron help

2015-02-02 Thread Tim Dunphy
Hey Joey & Christian, Just like you would when manually adding a cronjob you should have '*/30', so your resource should look like this. cron { "facts-cron": command => "/usr/bin/facter -y > /etc/mcollective/facts.yaml", user=> 'root', hour=> 0, minute => '*/30' } Hope this helps!

[Puppet Users] Re: puppet cron help

2015-02-02 Thread Joseph Karns
Hello Tim: Just like you would when manually adding a cronjob you should have '*/30', so your resource should look like this. cron { "facts-cron": command => "/usr/bin/facter -y > /etc/mcollective/facts.yaml", user=> 'root', hour=> 0, minute => '*/30' } Hope this helps! Joey