Remove compatibility codes for CentOS<=6

... because CentOS6 is no longer supported.

Change-Id: I0e48743407a458a3e530fca59ba20a28fe60cb66
This commit is contained in:
Takashi Kajinami 2020-06-04 21:59:46 +09:00
parent c0d0bcf3d8
commit bf3ed618b4
1 changed files with 3 additions and 8 deletions

View File

@ -52,16 +52,11 @@ class nova::params {
$nova_api_wsgi_script_source = '/usr/bin/nova-api-wsgi' $nova_api_wsgi_script_source = '/usr/bin/nova-api-wsgi'
$nova_metadata_wsgi_script_source = '/usr/bin/nova-metadata-wsgi' $nova_metadata_wsgi_script_source = '/usr/bin/nova-metadata-wsgi'
case $::operatingsystem { case $::operatingsystem {
'RedHat', 'CentOS', 'Scientific', 'OracleLinux': { 'Fedora': {
if (versioncmp($::operatingsystemmajrelease, '7') < 0) { $messagebus_service_name = undef
$messagebus_service_name = 'messagebus'
} else {
$messagebus_service_name = 'dbus'
}
} }
default: { default: {
# not required on Fedora $messagebus_service_name = 'dbus'
$messagebus_service_name = undef
} }
} }
$nova_user = 'nova' $nova_user = 'nova'