On Mon, Nov 25, 2013 at 12:31 PM, Stuart Cracraft wrote:
> I'm looking for something like:
>
> file { "/home/someuser/.ssh":
> ensure => present-but-recreate-if-existing
> }
Well, you still want
ensure => directory.
But take a look at the purge param:
http://docs.puppetlabs.com/referen
I have a requirement to ensure that /home/someuser/.ssh is empty
at the start of an initialization. It can be removed completely
What is the Puppet way to ensure a directory is empty prior to it
being created?
I'm looking for something like:
file { "/home/someuser/.ssh":
ensure => presen