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 "opening Augeas" sorts of lines. (That happens 79 times.) I think that's because Augeas is populating its whole tree, each time.
I know I can avoid that behavior by specifying the lens and incl parameters in my augeas resources, but I like the clarity I get by not doing that, and want to preserve it. Has anyone ever tried to make it so that only one Augeas connection is opened per Puppet run? 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) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
