Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3628

mount's atboot property not used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PUP 3.6.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      It seems that the "atboot" property of the "mount" type is not honored correctly, at least on my Linux machine.

      Sample nfsmount.pp:

      mount { 'mountNFS':
          name => '/mnt',
          ensure => present,
          atboot => no,
          device => "127.0.0.1:/data/nfs/export",
          options => 'retrans=5,timeo=14,intr,tcp,_netdev',
          pass => 0,
          dump => 0,
          remounts => true,
          fstype => 'nfs',
          tag => 'nfsmount',
      }
      

      Expected result in /etc/fstab, including noauto:

      127.0.0.1:/data/nfs/export	/mnt	nfs	retrans=5,timeo=14,intr,tcp,_netdev,noauto	0	0
      

      Actual result, without noauto:

      127.0.0.1:/data/nfs/export	/mnt	nfs	retrans=5,timeo=14,intr,tcp,_netdev	0	0
      

      Am I doing something wrong or is there any specific reason why this is not working?

      Thanks,
      Raoul

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              raoulbhatia Raoul Bhatia
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support