Re: [Puppet Users] /tmp and 1777 mode

2011-10-25 Thread Jeff McCune
On Mon, Oct 24, 2011 at 12:35 PM, Chris Ritson
wrote:

> I'm new to anything more than very basic puppet. I need to create a
> (differently named) working directory which like /tmp has 1777 mode
> and is also a mounted file system. I need to avoid the underlying
> mount point picking up these permissions (it needs to be 755). How can
> I arrange this with puppet. As I understand it both my
>
> file ... { ensure directory }
>
> recipies need to refer to the same directory name.
>
>
This is correct.  Even more specifically, even if you use two different
resource names they will need to have the same path property.

I can't think of a good way to manage the underlying mountpoint using
different permissions than the mounted directory.  You way want to use a
simple exec resource to accomplish this.

-- 
Jeff McCune

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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.



[Puppet Users] /tmp and 1777 mode

2011-10-24 Thread Chris Ritson
I'm new to anything more than very basic puppet. I need to create a
(differently named) working directory which like /tmp has 1777 mode
and is also a mounted file system. I need to avoid the underlying
mount point picking up these permissions (it needs to be 755). How can
I arrange this with puppet. As I understand it both my

file ... { ensure directory }

recipies need to refer to the same directory name.

Chris Ritson.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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.