Turns out I just had to fix the Mcollective/File[plugins-sbin] recipe
(second line of the output from my original email) to change 'recurse =>
inf' (oops) to 'recurse => remote'. It was checking ownership of all 250
files under /usr/sbin just to add in the 3 files mcollective needed in
/usr/sbin. That also fixed a postfix problem we were having and removed
about 25 seconds from the puppetd run. :)

FWIW, this seems to work nicely to add timestamps externally:

puppet agent --{summarize,test,debug,evaltrace} | perl -pe
's/^/localtime().": "/e'

Thanks for the help!

Justin

On Tue, Nov 29, 2011 at 3:25 PM, Daniel Pittman <dan...@puppetlabs.com>wrote:

> On Tue, Nov 29, 2011 at 15:13, Justin Lloyd <jstn...@gmail.com> wrote:
> > Cool, nice to know about the evaltrace option. Interestingly, in the
> ~1000
> > lines of output from "puppetd -t --evaltrace", all are < 1 second and all
> > but about 10 are < 0.1 seconds. The total evaluation time is about 5
> seconds
> > with the other ~30 "missing" seconds taking place between these two
> lines:
> >
> > info: Class[Mcollective]: Evaluated in 0.00 seconds
> > info: /Stage[main]/Mcollective/File[plugins-sbin]: Evaluated in 0.00
> seconds
> >
> > Hopefully I can dig deeper from there.
>
> You probably need to run with '--debug', and look at something that
> timestamps the log output lines to track it down.
>
> Daniel
> --
> ⎋ Puppet Labs Developer – http://puppetlabs.com
> ♲ Made with 100 percent post-consumer electrons
>
> --
> 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.
>
>

-- 
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.

Reply via email to