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? -- 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 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.