2016-02-27 00:13:28 +00:00
|
|
|
class openstack_integration::params {
|
|
|
|
|
|
|
|
case $::osfamily {
|
|
|
|
'RedHat': {
|
2016-03-01 23:50:40 +00:00
|
|
|
$ca_bundle_cert_path = '/etc/ssl/certs/ca-bundle.crt'
|
|
|
|
$cert_path = '/etc/pki/ca-trust/source/anchors/puppet_openstack.pem'
|
2016-02-27 00:13:28 +00:00
|
|
|
$update_ca_certs_cmd = '/usr/bin/update-ca-trust force-enable && /usr/bin/update-ca-trust extract'
|
|
|
|
}
|
|
|
|
'Debian': {
|
2016-03-01 23:50:40 +00:00
|
|
|
$ca_bundle_cert_path = '/etc/ssl/certs/puppet_openstack.pem'
|
2016-02-27 00:13:28 +00:00
|
|
|
$cert_path = '/usr/local/share/ca-certificates/puppet_openstack.crt'
|
2016-03-01 23:50:40 +00:00
|
|
|
$update_ca_certs_cmd = '/usr/sbin/update-ca-certificates -f'
|
2016-02-27 00:13:28 +00:00
|
|
|
}
|
|
|
|
default: {
|
|
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|