On Thu, Aug 5, 2010 at 7:41 AM, Rob McBroom <[email protected]>wrote:
> On Aug 4, 2010, at 3:11 PM, Tony G. wrote: > > >> If I add `ensure => present`, the entry gets added, but according to the > documentation, "if the filesystem is currently mounted, it will be > unmounted". > >> > >> I don't want Puppet to unmount (or mount) it. I just want it defined in > `fstab` so it can be easily mounted as needed. Can that be done? > > > > I sounds like the use case you are looking for is not supported, as you > want it only in fstab but not perform any action, e.g. if mounted it should > keep mounted, or if unmounted leave it unmounted. > > Yes, that appears to be the case. I tested the “present” value just to see > the actual behavior because I thought the documentation must be wrong, but > it does in fact unmount the thing: > > notice: //Mount[/unixteam]/ensure: ensure changed 'mounted' to 'present' > > I don’t understand this behavior. Why on Earth would I want to define > something in `fstab` that is guaranteed to get unmounted at some random time > in the next 30 minutes? > > Open a Feature Request if you find your use case required. :) > -- > Rob McBroom > <http://www.skurfer.com/> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<puppet-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Tony http://blog.tonyskapunk.net -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
