[Puppet Users] file backup with augeas

2011-06-26 Thread hai wu
When using augeas to modify a file, would it backup the file first before
changing it? I could not find such backup flag in augeas resource type ..

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



Re: [Puppet Users] file backup with augeas

2011-06-26 Thread Dominic Cleal
On 26/06/11 15:48, hai wu wrote:
 When using augeas to modify a file, would it backup the file first
 before changing it? I could not find such backup flag in augeas resource
 type ..

As mentioned in IRC, there isn't a provision for this at the moment and
the built in Augeas backup mechanism (${FILE}.bak) isn't exposed in the
Puppet type.

I don't think it should be, so have put in the request for proper
integration to the filebucket feature like the file type:
http://projects.puppetlabs.com/issues/8105

-- 
Dominic Cleal
Red Hat Consulting
m: +44 (0)7818 512168

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