On Thursday, November 14, 2013 1:03:43 PM UTC-6, Stuart Cracraft wrote: > > When I apply my class, it can take 5, 10 minutes to actually execute > and record in /var/log/messages. > > For testing and turnaround, I need immediate. > > I take it that the above is due to runinterval = <smaller number than > 1800, the default> > being needed to be added to the puppetmaster configuration. > >
No. Is Jo said, "puppet apply" immmediately compiles and applies the specified manifest, and any others that are required by the start-point manifest. If there is a delay there then it is probably because compilation takes a long time. Although compilation is usually fast, there are things you can do to make it slow. The 'runinterval' setting is relevant only to 'puppet agent', and even at that it needs to go into the [main] or [agent] configuration section, on the client machine. > But even smaller numbers like a few minutes (which don't scale well for > lots > of patterns) aren't good. > > I need a method to immediate-apply. > > Is there one? > Yes, more or less. Either "puppet apply" or "puppet agent --onetime --no-daemonize" will do this (or "puppet agent --test", which is a shortcut for the latter plus one or two other options). In fact, if the agent is not already running then plain "puppet agent" will normally perform its first run immediately. John -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/126109ac-6c10-416e-b582-4c6e889afc93%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.