Replace remaining use of legacy facts

... because these are no longer available in Puppet 8.

Change-Id: Ic1f11b7e12d35f7381d621c6f28636a34ca14e0e
(cherry picked from commit ee48d7a366)
(cherry picked from commit a1f3e5a770)
This commit is contained in:
Takashi Kajinami
2025-02-18 09:42:29 +09:00
parent 3ac4f4849d
commit 2abaab7e54

View File

@@ -10,7 +10,7 @@ describe 'openstacklib mysql' do
class { 'mysql::server': }
$charset = $::operatingsystem ? {
$charset = $facts['os']['name'] ? {
'Ubuntu' => 'utf8mb3',
default => 'utf8',
}