[Puppet Users] Re: purging and recurse

2009-05-17 Thread Peter Meier

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



[Puppet Users] Re: purging and recurse

2009-05-16 Thread Jean Spirat

Robin Lee Powell a écrit :
> On Sat, May 16, 2009 at 09:45:10PM +0200, jean wrote:
>   
>> 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 :(

regards,
JEan


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



[Puppet Users] Re: purging and recurse

2009-05-16 Thread Robin Lee Powell

On Sat, May 16, 2009 at 09:45:10PM +0200, jean wrote:
> 
> 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

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