2016-02-26 19:13:28 -05:00
|
|
|
class openstack_integration::params {
|
|
|
|
|
2023-03-01 10:29:37 +09:00
|
|
|
case $facts['os']['family'] {
|
2016-02-26 19:13:28 -05:00
|
|
|
'RedHat': {
|
2016-03-01 18:50:40 -05:00
|
|
|
$ca_bundle_cert_path = '/etc/ssl/certs/ca-bundle.crt'
|
|
|
|
$cert_path = '/etc/pki/ca-trust/source/anchors/puppet_openstack.pem'
|
2016-02-26 19:13:28 -05:00
|
|
|
$update_ca_certs_cmd = '/usr/bin/update-ca-trust force-enable && /usr/bin/update-ca-trust extract'
|
2021-08-12 17:48:51 +09:00
|
|
|
$mysql_charset = 'utf8'
|
2022-08-02 08:17:09 +09:00
|
|
|
$mysql_collate = 'utf8_general_ci'
|
2023-03-20 14:18:09 +09:00
|
|
|
$mysql_conf_dir = '/etc/my.cnf.d'
|
2016-02-26 19:13:28 -05:00
|
|
|
}
|
|
|
|
'Debian': {
|
2016-03-01 18:50:40 -05:00
|
|
|
$ca_bundle_cert_path = '/etc/ssl/certs/puppet_openstack.pem'
|
2016-02-26 19:13:28 -05:00
|
|
|
$cert_path = '/usr/local/share/ca-certificates/puppet_openstack.crt'
|
2016-03-01 18:50:40 -05:00
|
|
|
$update_ca_certs_cmd = '/usr/sbin/update-ca-certificates -f'
|
2022-07-04 00:22:09 +09:00
|
|
|
$mysql_charset = 'utf8mb3'
|
|
|
|
$mysql_collate = 'utf8mb3_general_ci'
|
2023-03-20 14:18:09 +09:00
|
|
|
$mysql_conf_dir = '/etc/mysql'
|
2016-02-26 19:13:28 -05:00
|
|
|
}
|
|
|
|
default: {
|
2023-03-01 10:29:37 +09:00
|
|
|
fail("Unsupported osfamily: ${facts['os']['family']} operatingsystem")
|
2016-02-26 19:13:28 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|