On 04/15/2013 09:31 AM, Ellison Marks wrote:
> Perhaps it works differently when specifying the content/source of a
> file. I tried your example, but with content => 'foo' instead of mode =>
> 640 and it created the file.

Yes, I believe that's an important distinction.

One would expect 'content =>' to imply 'ensure => file', and 'source =>'
to imply file if the source is indeed a file, or directory if the source
is a directory as well.

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