On Mon, Aug 29, 2011 at 07:43, piavlo <[email protected]> wrote: > puppet file resources has an "purge" option - which will purge files > in the directory which are not managed by this specific file resource. > It will purge files managed by other puppet resources in the same > directory. What i need is a "purge" option to be aware of all all > puppet resources and not purge them.
No, it shouldn't, at least in most cases. Can you post the specific (and, ideally, minimal) set of file resource declarations that are causing you trouble here? I don't know what is going wrong, but it certainly wasn't the case that the delete/recreate behaviour happened. We have code specifically to find overlapping managed files in scenarios like this, and to apply the more specific rules, such as "files with content should exist". Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- 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.
