Hi,

On 04/25/2014 04:22 PM, Dan Pasacrita wrote:
> file { '/path/to/file':
>                 ensure => "directory",
>                 recurse => "remote",
>                 mode => 755,
>                 source => "/path/to/source",
> }
> 
> But is there any way for it to /just/ check the directory, and not move
> anything over?

if you omit the 'source' parameter, Puppet will indeed only make sure
that the path in question does lead to a directory, create it if it is
missing (provided the parent directory does exist) or even change an
existing file/symlink into a directory (danger, Will Robinson).

HTH,
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/535A745E.6050801%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to