markbergman.gm@gmail.com
2014-Jul-28 16:53 UTC
[Puppet Users] increasing frequency of puppet agent runs during initial deployment?
I'm beginning to use Puppet, and I'm looking for suggestions for the best way to have 'puppet agent' run very frequently during the initial deployment phase on a new server. In our environment, there's one local puppet module that's called in the 'post' stage. This module essentially depends on all other services and local configurations on the server. Reaching that stage on a newly deployed server takes serveral iterations of 'puppet agent'. Each client calls the puppet agent as a cron job, every 30 minutes. That's fine after machine is fully configured, but means that there's a long interval between kickstarting a new machine and having it reach a usable state. Essentially, I'd like the calls to 'puppet agent' to loop continuously (with a very short pause) until classes in the 'post' stage have met their requirements and executed once, at which time the server is fully configured and puppet can be run at the normal 30-minute interval. Any suggestions? Thanks, Mark -- 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 puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9989-1406566383.024520%40NNlb.KxuX.QQYv. For more options, visit https://groups.google.com/d/optout.