>From a previous email of [email protected].

" ...
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:
changes => "...",
lens => "Hosts.lns",
incl => "/etc/hosts"
}

in your manifests, and everything will be lightning fast, even without
connection caching."
On May 3, 2011 11:45 AM, "Dominic Cleal" <[email protected]> wrote:

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

Reply via email to