> On Thu, Nov 19, 2009 at 11:52 AM, Andrew Schulman <
> google-groups-and...@sneakemail.com> wrote:
> 
> > The Type Reference lists 8 read-only type attributes, but I can't find any
> > information in the documentation about how to use them.  Are they usable,
> > and if so how?
> >
> > Here's my #1 example:  when I set the mode on a file resource, I want to
> > set a different default mode for a file than for a directory.  Files have
> > an attribute named type, which the docs say is "a read-only state to check
> > the file type".  That would seem to be the right thing, so I want to write
> > something like
> >
> >
> 
> that doesnt exactly work as you described it. As a feature, if you set up
> default mode as 644, puppet assumes that you want 755 on dirs and not 644.

I've tested this and it's true, so I've added an explanation of it in the
docs.  It's pretty important to know... I wondered for a long time how to
do this.  Thanks, Andrew.

--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.


Reply via email to