Puppet Class: role::labs::lvm::mnt

Defined in:
modules/role/manifests/labs/lvm/mnt.pp

Overview

Allocate all of the instance's extra space as /mnt or the user specified mount point given in the $::lvm_mount_point global variable. FIXME: Deprecate and kill with mild fire

Parameters:

  • mount_point (Any) (defaults to: $::lvm_mount_point)


5
6
7
8
9
10
11
# File 'modules/role/manifests/labs/lvm/mnt.pp', line 5

class role::labs::lvm::mnt($mount_point = $::lvm_mount_point) {
    $mount = $mount_point ? {
        undef   => '/mnt',
        default => $mount_point,
    }
    labs_lvm::volume { 'second-local-disk': mountat => $mount }
}