On Mon, 2008-10-13 at 12:19 -0400, Joel Nimety wrote: > > The augeas type could do this itself, of course -- automatically back > > up any files it should be notifying -- without adding a new subsystem. > > Are you suggesting I can add a backup call in the augeas plugin? I > hadn't considered that. What about "SimpleText" file edits?
I think the cleanest solution would be if the augeas plugin does the backup. You can tell aug_init to either create new files with extension .augnew or save the original file with extension .augsave - either way, the plugin could detect the presence of those files and then call into puppet's backup internals to send the file to the filebucket. David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
