Hi,

On 04/04/2013 05:08 PM, jcbollinger wrote:
>     if I define a file resource without specifying an ensure parameter,
>     it seems to behave like ensure => present was specified.
> 
> 
> 
> Yes, that's the default.

Uhm, are you sure? I would expect the following to be a noop, which
seems to be the case:

$ puppet apply -e 'file { "/tmp/wth": mode => 640 }'
notice: Finished catalog run in 0.05 seconds

Puppet *will* change the file mode, if it's not 640, but will not mess
with the resource's existence.

A different behavior would be confusing, to me at least.

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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to