I think the 'Puppet' way to do this is to not do it with Puppet at all. Puppet works by inspecting the system and resolving inconsistencies. "Do a thing every quarter" maps poorly to this. The ordering of Puppet also makes it hard to do rigorous error checking and logging.
I would recommend you capture the syncing behaviour in a shell or ruby/python/perl script. Then use Puppet to put this script in place, and to set a cron job to run it at the interval you desire. Thanks, Spencer On Tue, Jun 10, 2014 at 5:58 AM, Felix Frank < [email protected]> wrote: > Hi, > > you can do this more or less, by applying a schedule to one or more > resources. The schedule makes sure that the resource is not synced > outside a specific time window. But if there happens to be no agent run > *inside* the window, then no sync will happen at all. > > See http://docs.puppetlabs.com/references/latest/type.html#schedule > > HTH, > Felix > > On 06/10/2014 12:17 PM, Chrislynn Chee wrote: > > Hi all, > > I would like to know how puppet admin usually do or structure the > > modules, if there is a particular module that I do not which it to be > > applied in catalog in a normal run mode, but to be included at a custom > > time interval. For example, I have a special module to "sync sqlite file > > from my server" only in a quarterly basis. I do not want the sync to be > > happened in the standard puppet run interval. Can I achieve this > > requirement? > > > > Thank you. > > -- > 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/539700D8.9000601%40alumni.tu-berlin.de > . > For more options, visit https://groups.google.com/d/optout. > -- Spencer Krum (619)-980-7820 -- 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/CADt6FWN%3D-%3DDmL-pMHu60Bbujcxi5cPSVN6FzzCE2y8LtaVezBQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
