Puppet Class: nfs::client::gentoo::configure

Defined in:
manifests/client/gentoo/configure.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/client/gentoo/configure.pp', line 1

class nfs::client::gentoo::configure {
  Augeas{
    require => Class['nfs::client::gentoo::install']
  }

  if $nfs::client::gentoo::nfs_v4 {
      augeas {
        '/etc/conf.d/nfs':
          context => '/files/etc/conf.d/nfs',
          changes => [ 'set NFS_NEEDED_SERVICES rpc.idmapd' ];
        '/etc/idmapd.conf':
          context => '/files/etc/idmapd.conf/General',
          lens    => 'Puppet.lns',
          incl    => '/etc/idmapd.conf',
          changes => ["set Domain ${nfs::client::gentoo::nfs_v4_idmap_domain}"];
      }
  }

}