25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# File 'manifests/client/debian.pp', line 25
class nfs::client::debian::configure {
Augeas{
require => Class['nfs::client::debian::install']
}
if $nfs::client::debian::nfs_v4 {
augeas {
'/etc/default/nfs-common':
context => '/files/etc/default/nfs-common',
changes => [ 'set NEED_IDMAPD yes', ];
'/etc/idmapd.conf':
context => '/files/etc/idmapd.conf/General',
lens => 'Puppet.lns',
incl => '/etc/idmapd.conf',
changes => ["set Domain $nfs::client::debian::nfs_v4_idmap_domain"],
}
}
}
|