Puppet Class: augeasproviders::params

Inherited by:
augeasproviders::instances
Defined in:
manifests/params.pp

Overview

Class: augeasproviders::augeasproviders_params

Defines all the variables used in the module.



5
6
7
8
9
10
11
12
13
14
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'manifests/params.pp', line 5

class augeasproviders::params {

  $apache_directive_hash = $::augeasproviders_apache_directive_hash ? {
    undef   => false,
    default => $::augeasproviders_apache_directive_hash,
  }

  $apache_setenv_hash = $::augeasproviders_apache_setenv_hash ? {
    undef   => false,
    default => $::augeasproviders_apache_setenv_hash,
  }

  $host_hash = $::augeasproviders_host_hash ? {
    undef   => false,
    default => $::augeasproviders_host_hash,
  }

  $kernel_parameter_hash = $::augeasproviders_kernel_parameter_hash ? {
    undef   => false,
    default => $::augeasproviders_kernel_parameter_hash,
  }

  $mailalias_hash = $::augeasproviders_mailalias_hash ? {
    undef   => false,
    default => $::augeasproviders_mailalias_hash,
  }

  $mounttab_hash = $::augeasproviders_mounttab_hash ? {
    undef   => false,
    default => $::augeasproviders_mounttab_hash,
  }

  $nrpe_command_hash = $::augeasproviders_nrpe_command_hash ? {
    undef   => false,
    default => $::augeasproviders_nrpe_command_hash,
  }

  $pam_hash = $::augeasproviders_pam_hash ? {
    undef   => false,
    default => $::augeasproviders_pam_hash,
  }

  $pg_hba_hash = $::augeasproviders_pg_hba_hash ? {
    undef   => false,
    default => $::augeasproviders_pg_hba_hash,
  }

  $puppet_auth_hash = $::augeasproviders_puppet_auth_hash ? {
    undef   => false,
    default => $::augeasproviders_puppet_auth_hash,
  }

  $shellvar_hash = $::augeasproviders_shellvar_hash ? {
    undef   => false,
    default => $::augeasproviders_shellvar_hash,
  }

  $ssh_config_hash = $::augeasproviders_ssh_config_hash ? {
    undef   => false,
    default => $::augeasproviders_ssh_config_hash,
  }

  $sshd_config_hash = $::augeasproviders_sshd_config_hash ? {
    undef   => false,
    default => $::augeasproviders_sshd_config_hash,
  }

  $sshd_config_subsystem_hash = $::augeasproviders_sshd_config_subsystem_hash ? {
    undef   => false,
    default => $::augeasproviders_sshd_config_subsystem_hash,
  }

  $sysctl_hash = $::augeasproviders_sysctl_hash ? {
    undef   => false,
    default => $::augeasproviders_sysctl_hash,
  }

  $syslog_hash = $::augeasproviders_syslog_hash ? {
    undef   => false,
    default => $::augeasproviders_syslog_hash,
  }

  $defaults = {
    'ensure'    => 'present',
    'provider'  => 'augeas',
  }

  $resource_defaults = {
    'apache_directive'      => $defaults,
    'apache_setenv'         => $defaults,
    'host'                  => $defaults,
    'kernel_parameter'      => merge($defaults, {'provider' => undef}),
    'mailalias'             => $defaults,
    'mounttab'              => $defaults,
    'nrpe_command'          => $defaults,
    'pam'                   => $defaults,
    'pg_hba'                => $defaults,
    'puppet_auth'           => $defaults,
    'shellvar'              => $defaults,
    'sshd_config'           => $defaults,
    'sshd_config_subsystem' => $defaults,
    'sysctl'                => $defaults,
    'syslog'                => $defaults,
  }

}