Puppet Class: certtool::params
- Inherited by:
-
certtool
- Defined in:
- manifests/params.pp
Overview
Private class: certtool::params
Module defaults for various operating systems
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'manifests/params.pp', line 5
class certtool::params {
if $::kernel != 'Linux' {
fail("${module_name} is only supported on Linux")
}
case $::osfamily {
'Debian': {
$package = 'gnutls-bin'
$certpath = '/etc/ssl/certs'
$keypath = '/etc/ssl/private'
$pubkeypath = '/etc/ssl/private'
}
'RedHat': {
$package = 'gnutls-utils'
$certpath = '/etc/pki/tls/certs'
$keypath = '/etc/pki/tls/private'
$pubkeypath = '/etc/pki/tls/private'
}
default: { fail("${module_name} is not supported on ${::operatingsystem}") }
}
}
|