> > 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, <[email protected]> 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 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 >> >> -- >> GPG me!! >> >> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >> > > > > You can also try this: > > https://groups.google.com/forum/#!topic/puppet-users/PZMv4hGpKiM > > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/cea5b350-c2bd-4575-86bb-8eb5111aed4c%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/cea5b350-c2bd-4575-86bb-8eb5111aed4c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAOZy0ek9qwvo3ooeq2e88iX1ycpUA%2BiLnEAA-V%3DET1T3D_A6Tw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
