Puppet Class: psick::nfs::server
- Defined in:
- manifests/nfs/server.pp
Summary
Manages nfs serverOverview
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'manifests/nfs/server.pp', line 14
class psick::nfs::server (
Hash $exports_hash = {},
Boolean $manage = true,
Boolean $noop_manage = false,
Boolean $noop_value = false,
) {
if $manage {
if $noop_manage {
noop($noop_value)
}
tp::install { 'nfs-server': }
$exports_hash.each |$k,$v| {
psick::nfs::export { $k:
* => $v,
}
}
}
}
|