Hi >>> I have a problem with purging. I tried to create directory that are: >>> >>> file { >>> "$basedir": >>> ensure => directory, >>> owner => 'root', >>> purge => true, >>> >> I think purge and ensure conflict? >> >> -Robin >> > hummm, not far, > > it seems this is the owner and mode .. ? So it seems we cannot create a > directory owned by root without loosing the purging capability :(
no you can do that without any problems: http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#i-want-to-manage-a-directory-and-purge-its-contents cheers pete --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---