From bf3ed618b47a2dbb980e52c05ba0db4b27fc6f15 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 4 Jun 2020 21:59:46 +0900 Subject: [PATCH] Remove compatibility codes for CentOS<=6 ... because CentOS6 is no longer supported. Change-Id: I0e48743407a458a3e530fca59ba20a28fe60cb66 --- manifests/params.pp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index ed8c1a4d9..e8d856232 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -52,16 +52,11 @@ class nova::params { $nova_api_wsgi_script_source = '/usr/bin/nova-api-wsgi' $nova_metadata_wsgi_script_source = '/usr/bin/nova-metadata-wsgi' case $::operatingsystem { - 'RedHat', 'CentOS', 'Scientific', 'OracleLinux': { - if (versioncmp($::operatingsystemmajrelease, '7') < 0) { - $messagebus_service_name = 'messagebus' - } else { - $messagebus_service_name = 'dbus' - } + 'Fedora': { + $messagebus_service_name = undef } default: { - # not required on Fedora - $messagebus_service_name = undef + $messagebus_service_name = 'dbus' } } $nova_user = 'nova'