You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.
hi,
for getssl to work on redhat i had to change this:
GUEST:root@puppet2018:[/etc/puppetlabs/code/environments/production/modules/backuppc/files/ssh]: difff -r /etc/puppetlabs/code/environments/production/modules/getssl /etc/puppetlabs/code/environments/production/modules/getssl.old diff '--width=230' --suppress-common-lines -w -B -b -y -r /etc/puppetlabs/code/environments/production/modules/getssl/manifests/params.pp /etc/puppetlabs/code/environments/production/modules/getssl.old/manifests/params.pp > case $::osfamily { > 'Debian': { > $ssl_conf = '/usr/lib/ssl/openssl.cnf' > } > 'Ubuntu': { > $ssl_conf = '/usr/lib/ssl/openssl.cnf' > } > 'RedHat': { > $ssl_conf = '/etc/pki/tls/openssl.cnf' > } > default: { > fail("The ${module_name} module is not supported on an ${::osfamily} based system.") > } > } > > $ssl_conf = '/usr/lib/ssl/openssl.cnf' | # $ssl_conf = '/usr/lib/ssl/openssl.cnf'
i used a fail failure on unknow systems but that can also be changed to only override on redhats.
class getssl::params{
case $::osfamily {
'Debian': {
$ssl_conf = '/usr/lib/ssl/openssl.cnf'
}
'Ubuntu': {
$ssl_conf = '/usr/lib/ssl/openssl.cnf'
}
'RedHat': {
$ssl_conf = '/etc/pki/tls/openssl.cnf'
}
default: {
fail("The ${module_name} module is not supported on an ${::osfamily} based system.")
}
}
Ghislain.
The text was updated successfully, but these errors were encountered: