Drop logic for Debian 11

... because now only 12 is supported.

Change-Id: Ied0114c76b22ea04f1eaffb6fd10b7e373d93708
This commit is contained in:
Takashi Kajinami
2025-04-27 22:16:02 +09:00
parent a284d01e0a
commit 233721e84f

View File

@@ -16,11 +16,7 @@ class nova::compute::libvirt::version {
$default = '8.0' $default = '8.0'
} }
'Debian': { 'Debian': {
if versioncmp($facts['os']['release']['major'], '12') >= 0 { $default = '9.0'
$default = '9.0'
} else {
$default = '7.0'
}
} }
default: { default: {
fail("Unsupported osname: ${::facts['os']['name']}") fail("Unsupported osname: ${::facts['os']['name']}")