Puppet Class: nfs::idmapd::config

Defined in:
manifests/idmapd/config.pp

Summary

Manage `idmapd` configuration

Overview

Parameters:

  • verbosity (Optional[Integer]) (defaults to: undef)
  • domain (Optional[String[1]]) (defaults to: undef)
  • no_strip (Optional[Enum['user','group','both','none']]) (defaults to: undef)
  • reformat_group (Optional[Boolean]) (defaults to: undef)
  • local_realms (Optional[Array[String[1],1]]) (defaults to: undef)
  • nobody_user (String) (defaults to: 'nobody')
  • nobody_group (String) (defaults to: 'nobody')
  • trans_method (Array[Enum['nsswitch','static'],1]) (defaults to: ['nsswitch'])

    ‘[Translation]` Method

    • ‘Method` is a reserved word in Ruby

    • ‘umich_ldap` is not yet supported

  • gss_methods (Optional[Array[Enum['nsswitch','static'],1]]) (defaults to: undef)
  • static_translation (Optional[Hash[String[1],String[1]]]) (defaults to: undef)

    Will be translated into the ‘[Static]` section variables as presented in the man page

    • For example: ‘{ ’foo’ => ‘bar’ }‘ will be `foo = bar` in the output file

  • content (Optional[String]) (defaults to: undef)

    Use this as the explicit content for the ‘idmapd` configuration file

    • Overrides all other options

See Also:

  • idmapdidmapd.conf(5)

Author:



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'manifests/idmapd/config.pp', line 32

class nfs::idmapd::config (
  Optional[Integer]                            $verbosity          = undef,
  Optional[String[1]]                          $domain             = undef,
  Optional[Enum['user','group','both','none']] $no_strip           = undef,
  Optional[Boolean]                            $reformat_group     = undef,
  Optional[Array[String[1],1]]                 $local_realms       = undef,
  String                                       $nobody_user        = 'nobody',
  String                                       $nobody_group       = 'nobody',
  Array[Enum['nsswitch','static'],1]           $trans_method       = ['nsswitch'],
  Optional[Array[Enum['nsswitch','static'],1]] $gss_methods        = undef,
  Optional[Hash[String[1],String[1]]]          $static_translation = undef,
  Optional[String]                             $content            = undef
) {

  file { '/etc/idmapd.conf':
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    content => epp("${module_name}/etc/idmapd.conf.epp")
  }
}