Jira (PUP-1147) File purge actions should ignore unmanaged files created by File backup actions

2014-02-14 Thread JIRA
Title: Message Title










 

 Jan rnstedt commented on an issue


















  Re: File purge actions should ignore unmanaged files created by File backup actions 










I still think that it is the backup that should ignore backing up backup files.












   

 Add Comment

























 Puppet /  PUP-1147



  File purge actions should ignore unmanaged files created by File backup actions 







 Create this manifest:   {code}  $backup = '.old'  $fragdir = '/tmp/bug'   File {  backup = $backup  }   file { $fragdir:  ensure = directory,  }   file { ${fragdir}/fragments:  ensure = directory,  force = true,  purge = true,  recurse = true,  }   file { ${fragdir}/fragments/file.a:  ensure = present,  content ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (PUP-1147) File purge actions should ignore unmanaged files created by File backup actions

2014-02-13 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen updated an issue


















 Puppet /  PUP-1147



  File purge actions should ignore unmanaged files created by File backup actions 










So, the issue here is that we are telling Puppet to delete all unmanaged files in a directory while simultaneously telling Puppet to back up any deleted files by creating new unmanaged files in the same directory. The resulting behavior comes from the code executing as designed.
Marking this as an improvement request since it will require changing the current definition of purge for File resources.










Change By:

 Charlie Sharpsteen




Component/s:

 TypesandProviders




Labels:

 redmine type_file




Issue Type:

 Bug Improvement




Summary:

 Strangebehaviourwithfilebackupand File purge actionsshouldignoreunmanagedfilescreatedbyFilebackupactions












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)

  

Jira (PUP-1147) File purge actions should ignore unmanaged files created by File backup actions

2014-02-13 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen updated an issue


















 Puppet /  PUP-1147



  File purge actions should ignore unmanaged files created by File backup actions 










Change By:

 Charlie Sharpsteen




Assignee:

 CharlieSharpsteen












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.