present to add to fstab but not change mount/unmount status) is being overridden by the fact the provider is deemed refreshable. I noticed similar behaviour in Linux, with catastrophic results.
Ensure => present apparently always means "in fstab, but not mounted",
which not only doesn't make much sense to me, but led me to never use
any ensure setting besides "mounted".
Regards,
Felix
Anyone bug reported this yet?
>> I noticed similar behaviour in Linux, with catastrophic results.
>> Ensure => present apparently always means "in fstab, but not mounted",
>> which not only doesn't make much sense to me, but led me to never use
>> any ensure setting besides "mounted".
>
> Anyone bug reported this yet?
According to the documentation, that's how `ensure => present` is supposed to work, though I can't imagine the use case for “put it in fstab but make sure it's never mounted”. I would love it if that behavior were changed to just “put it in fstab”. Then I could actually use it. :)
--
Rob McBroom
<http://www.skurfer.com/>
It's perfectly reasonable to bug report something you think is broken,
even if it is consistent with provided documentation :)
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I'll file a bugOn 1 October 2010 05:01, Nigel Kersten <nig...@google.com> wrote:
On Thu, Sep 30, 2010 at 11:13 AM, Rob McBroom <mailin...@skurfer.com> wrote:It's perfectly reasonable to bug report something you think is broken,
> On Sep 30, 2010, at 12:37 PM, Nigel Kersten wrote:
>
>>> I noticed similar behaviour in Linux, with catastrophic results.
>>> Ensure => present apparently always means "in fstab, but not mounted",
>>> which not only doesn't make much sense to me, but led me to never use
>>> any ensure setting besides "mounted".
>>
>> Anyone bug reported this yet?
>
> According to the documentation, that's how `ensure => present` is supposed to work, though I can't imagine the use case for “put it in fstab but make sure it's never mounted”. I would love it if that behavior were changed to just “put it in fstab”. Then I could actually use it. :)
even if it is consistent with provided documentation :)
--
Thanks.
> Can Felix & Rob update the ticket with your use cases and requests?
Done. I hope I could generalize the problem somewhat (yes, in this case
that's a good thing ;-)
Cheers,
Felix
According to the online documentation (which is autogenerated), "Set to
present to add to fstab but not change mount/unmount status "
Which is the opposite of what you say it is doing. But I believe you,
because I know I've seen this behaviour reported before, although it may
have been on this list and not in a bug report.
--
Bruce
I see a mouse. Where? There, on the stair. And its clumsy wooden
footwear makes it easy to trap and kill. -- Harry Hill
On Oct 1, 2010, at 4:30 AM, Bruce Richardson wrote:
> According to the online documentation (which is autogenerated), "Set to
> present to add to fstab but not change mount/unmount status "
Where are you seeing that? For as long as I've used Puppet, the type reference has said: “Set this attribute to present to make sure the filesystem is in the filesystem table but not mounted (if the filesystem is currently mounted, it will be unmounted).”
See <http://docs.puppetlabs.com/guides/types/mount.html#id75>
http://docs.puppetlabs.com/references/latest/type.html#mount
>
> See <http://docs.puppetlabs.com/guides/types/mount.html#id75>
Some inconsistency on the site, then.
--
Bruce
Remember you're a Womble.