It's a very good question and, yes, as far as I know, it is single threaded.
However, testing demonstrates a direct correlation between service and exec statements and examining the code indicates that they use the same routines to call out to the shell. Also, I found that the translation of a brain dead simple exec could, in most cases, change it from a >=1s runtime to a <=0.01s runtime. Why this happens.....I'll let the PL guys answer....because I stopped going down that rabbit hole when I figured out how. The bad news is that services are just slow on the base OS so no help there if you're managing a lot of them. Trevor On Wed, Oct 10, 2012 at 10:09 AM, jcbollinger <john.bollin...@stjude.org> wrote: > > > On Wednesday, October 10, 2012 6:48:20 AM UTC-5, Trevor Vaughan wrote: >> >> Also, be aware that (unless this changed in 3.0), Exec statements and >> Service statements in Puppet stack into some sort of queue. >> >> Moving all Execs to simple native types will increase your performance >> dramatically and there are good examples of how to do this in the >> Puppet Labs stdlib module. >> >> I posted about this before but I'm not sure if there was a resolution. > > > > As far as I know, the Puppet agent is single-threaded and serializes > application of all resources of all types. I understood that to be an > invariant of the execution model (i.e. intentional). Is that not / no > longer true? > > > John > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/KbSPhSZtFFkJ. > > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaug...@onyxpoint.com -- This account not approved for unencrypted proprietary information -- -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.