I'm not sure if I'm kicking tyres again, but first off: I like the possibilities with puppet + augeas.
Trying to make a working example with /etc/exports but not sure of how to proceed. I want to be able to define exports in the following form: my_exports_def { ['/home/server01', '/svr/logs']: client => '*.example.com', options => 'rw,sync', '/other/export': client => '*.example.com', options => 'rw,sync,no_root_squash', } I am not sure if I should remove /files/etc/exports/dir first or just remove the dir of the export I'm adding and how do I refer to a dir[n] subtree by the export name to be able to remove or modify one? ie match /files/etc/exports/dir "/home/server01" Or should I just clear /files/etc/exports and set everything like in the PuppetAugeas example? Just not sure on the puppet/augeas way of doing this. Regards, Karl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---