Puppet Class: nfs::config::idmapd
- Inherits:
- nfs::config
- Defined in:
- manifests/config/idmapd.pp
Summary
Configure idmapd for NFSv4Overview
If the system is an NFSv4 server, we should have a working idmapd with a valid config
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'manifests/config/idmapd.pp', line 15
class nfs::config::idmapd (
$idmapd_config_file = $nfs::idmapd_config_file,
$idmapd_config_hash = $nfs::idmapd_config_hash,
$vendor_idmapd_config_hash = $nfs::vendor_idmapd_config_hash,
) inherits nfs::config {
assert_private()
$merged_idmapd_config_hash = deep_merge($vendor_idmapd_config_hash, $idmapd_config_hash)
$template_params = {
'idmapd_config' => $merged_idmapd_config_hash
}
file { $idmapd_config_file:
ensure => 'present',
owner => 'root',
group => 'root',
mode => '0644',
content => epp('nfs/etc/idmapd_conf.epp', $template_params),
}
}
|