Puppet Class: exim::params

Inherited by:
exim
Defined in:
manifests/params.pp

Overview



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

class exim::params {
  case $facts['os']['family'] {
    'Debian': {
      $package_name         = 'exim4-daemon-heavy'
      $service_name         = 'exim4'
      $service_user         = 'Debian-exim'
      $service_group        = 'Debian-exim'
      $config_file          = '/etc/exim4/exim4.conf'
      $tls_certificate_path = '/etc/ssl/exim.pem'
      $tls_privatekey_path  = '/etc/ssl/exim.key'
      $ldap_ca_cert_file    = '/etc/ssl/certs/ca-certificates.crt'
    }
    'RedHat': {
      $package_name         = 'exim'
      $service_name         = 'exim'
      $service_user         = 'exim'
      $service_group        = 'exim'
      $config_file          = '/etc/exim/exim.conf'
      $tls_certificate_path = '/etc/pki/tls/certs/exim.pem'
      $tls_privatekey_path  = '/etc/pki/tls/private/exim.key'
      $ldap_ca_cert_file    = '/etc/pki/tls/certs/ca-bundle.trust.crt'
    }
    default: {
      fail('Sorry, your OS is not currently supported by this module.')
    }
  }
}