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.

Reply via email to