On Jun 2, 2009, at 9:24 AM, Eric Gerlach wrote:

>
> On Tue, Jun 02, 2009 at 05:11:57PM +1000, Geoff Crompton wrote:
>>
>> While reading about schedules, I saw:
>> http://reductivelabs.com/trac/puppet/wiki/TypeReference#resources
>>
>> To check I'm reading this right, if I had the following in my  
>> site.pp:
>> resources { file
>>      purge => true
>> }
>>
>> Would puppet then attempt to purge every single file that it did not
>> have an explicit file resource for? Including files installed by  
>> package
>> resources?
>
> If the "resources" type supported files, yes, I think it would.  I'm  
> not sure
> which types are supported by "resources" right now, but I'm pretty  
> sure "file"
> isn't among them.

Correct -- file has its own builtin purging, because it's not a flat  
list of resources, like most other resource types are.

It works great with user, group, things like that, though.

-- 
Most people are born and years later die without really having lived
at all. They play it safe and tiptoe through life with no aspiration
other than to arrive at death safely. -- Tony Campolo, "Carpe Diem"
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


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

Reply via email to