Re: [Puppet Users] puppet cron help

2015-02-02 Thread Cristian Falcas
https://docs.puppetlabs.com/references/latest/type.html#cron cron { logrotate: command => "/usr/sbin/logrotate", user=> root, hour=> ['2-4'], minute => '*/10' } On Tue, Feb 3, 2015 at 12:55 AM, Tim Dunphy wrote: > Hey all, > > I'm attempting to setup a cron job via the cron res

[Puppet Users] puppet cron help

2015-02-02 Thread Tim Dunphy
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/f