Puppet Class: simp_apache::validate

Defined in:
manifests/validate.pp

Summary

Should be used as input to `validate_deep_hash` when managing `ldap`

Overview

or ‘limits` ACLs

Author:

  • Trevor Vaughan <tvaughan@onyxpoint.com>



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
# File 'manifests/validate.pp', line 6

class simp_apache::validate {
  $method_acl = {
    'method' => {
      'file' => {
        'enable'    => '^true|false$',
        'user_file' => '^/.*'
      },
      'ldap' => {
        'enable'      => '^true|false$',
        'url'         => nil,
        'security'    => '^SSL|TLS|STARTTLS$',
        'binddn'      => '^(.+=.+,?)*',
        'bindpw'      => nil,
        'search'      => '^(.+=.+,?)*',
        'posix_group' => true
      }
    },
    'limits' => {
      'defaults'    => nil,
      'hosts'       => nil,
      'users'       => nil,
      'ldap_groups' => nil
    }
  }
}