file {'remove_directory':
ensure => absent,
path => '/your/directory',
recurse => true,
purge => true,
force => true,
}
On Tuesday, April 8, 2014 9:06:42 AM UTC-3, Felix.Frank wrote:
>
> Hi,
>
> On 04/07/2014 04:31 PM, jcbollinger wrote:
> > Or maybe it would work to use just one File resource with ensure =>
> > 'absent', recurse => 'true'.
>
> I would expect this to be the case, and IIRC force => true will also be
> necessary for non-empty directories (this may even lift the need to
> recurse).
>
> Cheers,
> Felix
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/dd51a839-2986-411d-9a01-c120bba3b4be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.