Puppet Class: psick::nfs::client
- Defined in:
-
manifests/nfs/client.pp
Summary
Manage NFS client and mounts
Overview
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# File 'manifests/nfs/client.pp', line 15
class psick::nfs::client (
Hash $mounts_hash = {},
Boolean $manage = true,
Boolean $noop_manage = false,
Boolean $noop_value = false,
) {
if $manage {
if $noop_manage {
noop($noop_value)
}
# Workaround for rcpbind service handling.
tp::install { 'nfs-client':
settings_hash => {
service_enable => undef,
},
}
$mounts_hash.each |$k,$v| {
psick::nfs::mount { $k:
* => $v,
}
}
}
}
|