Re: [Puppet Users] augeas slooow

2011-05-06 Thread Dominic Cleal
On 05/05/11 15:43, Patrick wrote: > > On May 5, 2011, at 6:28 AM, Jennings, Jared L CTR USAF AFMC 46 SK/CCI wrote: > >> Hi, Aaron. >> >> Aaron (quoting letter@): >>> To avoid that, I added 'lens' and 'incl' parameters to the puppet type >>> a while ago. If you set these, Augeas will only read a s

Re: [Puppet Users] augeas slooow

2011-05-05 Thread Patrick
On May 5, 2011, at 6:28 AM, Jennings, Jared L CTR USAF AFMC 46 SK/CCI wrote: > Hi, Aaron. > > Aaron (quoting letter@): >> To avoid that, I added 'lens' and 'incl' parameters to the puppet type >> a while ago. If you set these, Augeas will only read a specific file, >> avoiding most of the unnece

RE: [Puppet Users] augeas slooow

2011-05-05 Thread Jennings, Jared L CTR USAF AFMC 46 SK/CCI
Hi, Aaron. Aaron (quoting letter@): > To avoid that, I added 'lens' and 'incl' parameters to the puppet type > a while ago. If you set these, Augeas will only read a specific file, > avoiding most of the unnecessary overhead. > ... everything will be lightning fast, even without > connection cachi

Re: [Puppet Users] augeas slooow

2011-05-03 Thread Aaron Lippold
>From a previous email of let...@repeat.com. " ... To avoid that, I added 'lens' and 'incl' parameters to the puppet type a while ago. If you set these, Augeas will only read a specific file, avoiding most of the unnecessary overhead. So, you should say something like augeas { add_a_host: change

Re: [Puppet Users] augeas slooow

2011-05-03 Thread Dominic Cleal
On 22/03/11 19:08, Jennings, Jared L CTR USAF AFMC 46 SK/CCI wrote: > I've got somewhere around 130 Augeas resources in my policy (catalog, > entire set of manifests, what-have-you) and 11 custom lenses, each for > only one or two files, and it takes like 2 1/2 minutes to apply the > whole thing. L

RE: [Puppet Users] augeas slooow

2011-03-22 Thread Jennings, Jared L CTR USAF AFMC 46 SK/CCI
Cc: saurabh verma > Subject: Re: [Puppet Users] augeas slooow > > On Tue, Mar 22, 2011 at 1:24 PM, saurabh verma > wrote: > >> > >> > >> How can I profile my Puppet catalog, to see what resources take the > >> longest to set straight? (I've only got p

Re: [Puppet Users] augeas slooow

2011-03-22 Thread Nigel Kersten
On Tue, Mar 22, 2011 at 1:24 PM, saurabh verma wrote: >> >> >> How can I profile my Puppet catalog, to see what resources take the >> longest to set straight? (I've only got puppet apply for now - no master >> yet) >> >> -- > > +1 for profiling feature More than --evaltrace ? > > -- > You rec

Re: [Puppet Users] augeas slooow

2011-03-22 Thread saurabh verma
> > > How can I profile my Puppet catalog, to see what resources take the > longest to set straight? (I've only got puppet apply for now - no master > yet) > > -- +1 for profiling feature -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] augeas slooow

2011-03-22 Thread Jennings, Jared L CTR USAF AFMC 46 SK/CCI
I've got somewhere around 130 Augeas resources in my policy (catalog, entire set of manifests, what-have-you) and 11 custom lenses, each for only one or two files, and it takes like 2 1/2 minutes to apply the whole thing. Looking at the --debug output, there are a whole lot of pauses right after "o