File: params.pp

package info (click to toggle)
puppet-module-asciiduck-sssd 0.3.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 168 kB
  • sloc: ruby: 423; sh: 28; makefile: 2
file content (99 lines) | stat: -rw-r--r-- 2,254 bytes parent folder | download | duplicates (2)
1
2
3
4
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
# == Class: sssd::params
#
#  This is an internal class.
#  The main entry point for the module is the init class
#

class sssd::params {
  case $::osfamily {
    'RedHat': {
      $unsupported = false

      $manage_package = true
      $package_name = ['sssd-common','sssd-client','sssd-ldap']
      $package_ensure = 'present'

      $manage_config = true
      $config_path = '/etc/sssd/sssd.conf'
      $config_owner = 'root'
      $config_group = 'root'
      $config_mode  = '0600'

      $manage_service = true
      $service_name = 'sssd'
      $service_ensure = 'running'
      $service_enable = true

      $sss_cache_path = [ '/usr/sbin/' ]
    }
    'Debian': {
      case $::operatingsystem {
        'Ubuntu': {
          # Check that we're running 14.04 or newer
          if versioncmp($::operatingsystemrelease, '14.04') >= 0 {
            $unsupported = false
          } else {
            $unsupported = true
          }
        }
        'Debian': {
          if versioncmp("${::operatingsystemrelease}", '8.0') >= 0 {
            $unsupported = false
          } else {
            $unsupported = true
          }
        }
        default: {
          $unsupported = true
        }
      }

      $manage_package = true
      $package_name = ['sssd','sssd-ldap','sssd-tools']
      $package_ensure = 'present'

      $manage_config = true
      $config_path = '/etc/sssd/sssd.conf'
      $config_owner = 'root'
      $config_group = 'root'
      $config_mode  = '0600'

      $manage_service = true
      $service_name = 'sssd'
      $service_ensure = 'running'
      $service_enable = true
      $sss_cache_path = [ '/usr/sbin/' ]
    }
    default: {
      $unsupported = true
    }
  }
  $override_unsupported = false

  $config_source = ''
  $config_content = ''
  $config_template = 'sssd/sssd.conf.erb'
  $services = ['nss','pam']
  $domains = {
    'local' => {
      'id_provider'      => 'local',
    }
  }
  $reconnection_retries = 3
  $re_expression = ''
  $full_name_format = ''
  $try_inotify = ''
  $krb5_rcache_dir = ''
  $default_domain_suffix = ''
  $rotate_uris = false

  $nss_options = {}
  $pam_options = {}
  $sudo_options = {}
  $autofs_options = {}
  $ssh_options = {}


  $flush_cache_on_change = true

}