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

"mount" type should autorequire its mountpoint

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: PUP 5.3.2
    • Fix Version/s: None
    • Component/s: Types and Providers
    • Labels:
    • Template:
    • Sub-team:
    • Team:
      Platform Core
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      New Feature
    • Release Notes Summary:
      The mount resource now auto requires the file resource that is its mountpoint.
    • QA Risk Assessment:
      No Action

      Description

      The mount type should autorequire a File resource for its mountpoint.

          mount { '/usr/local/foo':
              ensure => mounted,
              ...
          }
          file { '/usr/local/foo':
              ensure => directory,
          }
      

      This will try to mount /usr/local/foo before creating it.

      I've got a mountpoint being created in one component and the nfs share being mounted from another component. So my profile has to know the details of the components to know that it has to create the ordering relationship. This should be automatic.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kris.bosland Kris Bosland
              Reporter:
              JohnsonEarls Johnson Earls
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support