Resource Type: mountpoint

Defined in:
lib/puppet/type/mountpoint.rb
Providers:
linux
solaris

Overview

Manages currently mounted volumes, i.e. the live state of the filesystem. See the discussion under the mounttab type for usage.

Properties

  • device

    The device providing the mount. This can be whatever device is supporting by the mount, including network devices or devices specified by UUID rather than device path, depending on the operating system. If you already have an entry in your fstab (or you use the mounttab type to create such an entry), it is generally not necessary to specify the fstype explicitly

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • fstype

    The mount type. Valid values depend on the operating system. If you already have an entry in your fstab (or you use the mounttab type to create such an entry), it is generally not necessary to specify the fstype explicitly

Parameters

  • name (namevar)

    The path to the mount point.

  • options

    Mount options for the mounts, as they would appear in the fstab.

  • provider

    The specific backend to use for this ‘mountpoint` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • remounts

    Whether the mount can be remounted ‘mount -o remount`. If this is false, then the filesystem will be unmounted and remounted manually, which is prone to failure.

    Supported values:
    • true
    • false

Features

  • refreshable

    The provider can remount the filesystem.