Merge "Remove logic for old Ubuntu version"

This commit is contained in:
Zuul 2022-05-11 11:23:47 +00:00 committed by Gerrit Code Review
commit 30686883e1
1 changed files with 1 additions and 2 deletions

View File

@ -486,8 +486,7 @@ class keystone(
# openstacklib policy_rcd only affects debian based systems.
Policy_rcd <| title == 'keystone' |> -> Package['keystone']
Policy_rcd['apache2'] -> Package['httpd']
# we don't have keystone service anymore starting from Newton
if ($::operatingsystem == 'Ubuntu') and (versioncmp($::operatingsystemmajrelease, '16') >= 0) {
if ($::operatingsystem == 'Ubuntu') {
$policy_services = 'apache2'
} else {
$policy_services = ['keystone', 'apache2']