This did indeed make a huge difference. From about 10 seconds when loading everything, down to 0.22 seconds(!).
Thanks for your help, Jake! / Alexander On Tue, Jul 31, 2012 at 8:16 PM, Jake - USPS <jacob.m.mcc...@usps.gov>wrote: > Try something like the following instead (added 'incl' and 'lens' and > removed context as its default based on incl is what you had) : > > augeas { 'homeLV': > incl => '/etc/fstab', > lens => 'Fstab.lns', > changes => [ > 'set *[file = "/home"]/dump 0', > 'set *[file = "/home"]/passno 0', > ], > onlyif => 'match *[file = "/home"] size > 0', > } > > I think this helps augeas not autoload everything it can possibly edit and > narrows it in on just one file. > > Regards, > Jake > > -- > 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/-/CiA2fUipMl8J. > 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.