
puppetlabs-apache installs mariadb instead of mysql since 13.0.0. mariadb translates utf8mb3 to utf8 contrary to the behavior of mysql which translates utf8 to utf8mb3, and this breaks idempotency when utf8mb3 is used. This reverts the past changes to replace utf8 by utf8mb3 to fix idempotency. Change-Id: I7edcc6eee5b473076f0cd42efde97232289aaa01
24 lines
833 B
Puppet
24 lines
833 B
Puppet
class openstack_integration::params {
|
|
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$ca_bundle_cert_path = '/etc/ssl/certs/ca-bundle.crt'
|
|
$cert_path = '/etc/pki/ca-trust/source/anchors/puppet_openstack.pem'
|
|
$update_ca_certs_cmd = '/usr/bin/update-ca-trust force-enable && /usr/bin/update-ca-trust extract'
|
|
$mysql_charset = 'utf8'
|
|
$mysql_collate = 'utf8_general_ci'
|
|
}
|
|
'Debian': {
|
|
$ca_bundle_cert_path = '/etc/ssl/certs/puppet_openstack.pem'
|
|
$cert_path = '/usr/local/share/ca-certificates/puppet_openstack.crt'
|
|
$update_ca_certs_cmd = '/usr/sbin/update-ca-certificates -f'
|
|
$mysql_charset = 'utf8'
|
|
$mysql_collate = 'utf8_general_ci'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
|
|
}
|
|
}
|
|
|
|
}
|