Issue #7791 has been updated by Stefan Schulte.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version set to 3.3.0

Issue fixed in PR/1699 and merged into master in 67e1ff6. This should be 
released in 3.3.0.

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

* Author: Stefan Schulte
* Status: Merged - Pending Release
* Priority: Low
* Assignee: 
* Category: 
* Target version: 3.3.0
* Affected Puppet version: 
* Keywords: 
* Branch: https://github.com/puppetlabs/puppet/pull/1699
----------------------------------------
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to