[Puppet Users] How to remove a directory?

2014-04-06 Thread Swit Zerland
Hello I am writing a site.pp to automate some tasks performed on a Windows VM puppet agent and I would like to know how to remove recursively a directory. Thanks by advance S. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe fro

[Puppet Users] Re: Need help! Puppet could not request certificate: No route to host -connect(2)

2014-04-06 Thread rony thomas
Could you add the hostnames and IP addresses of master and client in /etc/hosts on both master and client. On RHEL 5.8, I was able to fix this error after flushing the iptables with "iptables -F" and then saving it with "service iptables save". Kind Regards, Rony Thomas On Tuesday, 23 A

Re: [Puppet Users] How to remove a directory?

2014-04-06 Thread Dirk Heinrichs
Am 06.04.2014 01:27, schrieb Swit Zerland: > I am writing a site.pp to automate some tasks performed on a Windows > VM puppet agent and I would like to know how to remove recursively a > directory. Either use an exec, which includes an "onlyif" attribute to remove the tree with an OS command, or