Re: [Puppet Users] Re: NFS mount problem

2011-03-06 Thread Ben Hughes
On Fri, Mar 04, 2011 at 07:42:22AM -0800, Forrie wrote: > I manually created the mount points and incorrectly assumed the mount > process would automatically create the point if it didn't exist. Afraid it doesn't, they have to exist before hand. > Can you explain the wrap you were talking about?

Re: [Puppet Users] Re: NFS mount problem

2011-03-04 Thread Stefan Schulte
On Thu, Mar 03, 2011 at 07:38:28PM -0800, Forrie wrote: > I'm trying to figure out how to manage the NFS mounts, then 'unmanage' > them when we're done -- ie: remove the NFS mount (ensure => absent) > and make sure the mount point on the client is removed. > > I thought for the mount{} portion of

Re: [Puppet Users] Re: NFS mount problem

2011-03-04 Thread Stefan Schlesinger
Just take a look at example42's nfs module, it should already provide the functionallity you are looking for. Regards, Stefan. On 04.03.2011, at 04:46, Ben Hughes wrote: > On Thu, Mar 03, 2011 at 07:38:28PM -0800, Forrie wrote: > >> So are you saying for the "absent" items, we'll need to in

Re: [Puppet Users] Re: NFS mount problem

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 07:38:28PM -0800, Forrie wrote: > So are you saying for the "absent" items, we'll need to include a > file{} directive to remove the mount point, too? The mount handler won't go around deleting directories for you, thankfully. (: Do you create the mount point before you m

Re: [Puppet Users] Re: NFS mount problem

2011-03-03 Thread Ben Hughes
On Thu, Mar 03, 2011 at 05:49:58PM -0800, Forrie wrote: > I caught that, thank you -- I've wiped my glasses thoroughly ;-) (: > One other issue I'm running into is I would like the client to > *create* (mkdir) the mountpoint with the correct permissions if it > doesn't exist. I don't see a way