Puppet Class: psick::mounts
- Defined in:
- manifests/mounts.pp
Overview
Generic class to manage mount resources
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'manifests/mounts.pp', line 24
class psick::mounts (
Hash $mounts = {},
Boolean $manage = $psick::manage,
Boolean $noop_manage = $psick::noop_manage,
Boolean $noop_value = $psick::noop_value,
) {
if $manage {
if $noop_manage {
noop($noop_value)
}
$mounts.each |$k,$v| {
mount { $k:
* => $v,
}
}
}
}
|