Puppet Class: trusted_ca::params
- Inherited by:
-
trusted_ca
- Defined in:
- manifests/params.pp
Overview
Class trusted_ca::params
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 |
# File 'manifests/params.pp', line 3
class trusted_ca::params {
$certificates_version = 'latest'
case $::osfamily {
'RedHat': {
$path = [ '/usr/bin', '/bin']
$update_command = 'update-ca-trust enable && update-ca-trust'
$install_path = '/etc/pki/ca-trust/source/anchors'
$certfile_suffix = 'crt'
$certs_package = 'ca-certificates'
}
'Debian': {
$path = ['/bin', '/usr/bin', '/usr/sbin']
$update_command = 'update-ca-certificates'
$install_path = '/usr/local/share/ca-certificates'
$certfile_suffix = 'crt'
$certs_package = 'ca-certificates'
}
'Suse': {
$certfile_suffix = 'pem'
case $::operatingsystem {
'SLES': {
$path = ['/usr/bin']
$update_command = 'c_rehash'
$install_path = '/etc/ssl/certs'
$certs_package = $::operatingsystemmajrelease ? {
'11' => 'openssl-certs',
default => 'ca-certificates',
}
}
'OpenSuSE': {
$path = ['/usr/sbin', '/usr/bin']
$update_command = 'update-ca-certificates'
$install_path = '/etc/pki/trust/anchors'
$certs_package = 'ca-certificates'
}
default: {
fail("${::osfamily}/${::operatingsystem} not supported")
}
}
}
default: {
fail("${::osfamily}/${::operatingsystem} ${::operatingsystemrelease} not supported")
}
}
}
|