[MODULES-7491] Mount command on FreeBSD inaccurate for some fs types. Created: 2017/10/15  Updated: 2018/07/23

Status: Accepted
Project: Modules
Component/s: mount_core
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Mike Delaney Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: freebsd, help_wanted, mount, type_and_provider
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

FreeBSD 10.3/11.0/11.1

Acceptance Criteria:

I should be able to mount the procfs, or descfs, file systems via the mount provider.

mount {
    ensure  => mounted,
    fstype  => 'procfs',
    device  => 'proc',
    options => 'rw',
    pass    => 0;

Team: Platform OS
Method Found: Needs Assessment
QA Risk Assessment: Needs Assessment


When trying to use the mount provider, on FreeBSD, it will append the update option when trying to issue the initial mount command.

However, for some file types (i.e. procfs, and fdescfs), the update flag is not a valid flag.

I'll note that the the entry written to the fstab is correct, but the mount command issues by Puppet is what is incorrect.

Comment by Branan Riley [ 2018/07/23 ]

Hi there,

FreeBSD is community-supported, as it is not a puppet-enterprise platform. I'll leave the ticket open, since this appears to be a valid issue, but we probably won't pick this up as part of our normal development.

We're happy to review pull requests to fix this, if you or someone else is interested in trying to address this issue.

Generated at Sun Jul 12 23:27:20 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.