Forum: Cfengine Help
Subject: Re: Unable to delete a directory
Author: berntjernberg
Link to topic: https://cfengine.com/forum/read.php?3,18863,19654#msg-19654
Hi,
I got it working in 3.05p1 with:
bundle agent cleanup(dir)
{
files:
# Delete all files.
"$(dir)"
delete
Forum: Cfengine Help
Subject: Re: Unable to delete a directory
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18863,18866#msg-18866
IIRC there are some body parts that will instruct the agent to delete the
parent directory.
http://www.cfengine.org/manuals/cf3-reference.