Issue #7791 has been reported by Stefan Schulte.

----------------------------------------
Bug #7791: puppet should reject certain options when running mount -o
https://projects.puppetlabs.com/issues/7791

Author: Stefan Schulte
Status: Unreviewed
Priority: Low
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


currently puppet does always mount a device with `-o options`. For certain 
options this is not desired.

e.g. when you have the following manifest:
<pre>
mount { '/foo':
  ...
  options => '-',
}
</pre>
The '-' on Solaris indicates that I dont want to mount with special 
mountoptions and this is a valid option in vfstab. This option is however not 
valid when running mount. In this case the Solaris mount command will print a 
warning (something like »unrecognized option, ignoring this option« and just 
because puppet normally doesnt print any output you dont see this message).

Because the mountprovider works I think this is a low priority issue, but it'll 
be more sane if puppet just rejects special options like '-' and 'defaults' 
when running `mount -o`



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to