Fix leftover related to $pyvers variable
This change removes a logic in unit tests assuming usage of $pyvers, which was left by 5f1e9e7c5c1401784adf884f66b3552d72e99842 which removed $pyvers. Change-Id: Ie26b1efe6db13c94c6a1271ceffa226f1a5c6d92
This commit is contained in:
parent
5f1e9e7c5c
commit
4d944807f6
@ -142,21 +142,9 @@ describe 'aodh::evaluator' do
|
||||
:evaluator_service_name => 'aodh-evaluator',
|
||||
:redis_package_name => 'python3-redis' }
|
||||
when 'RedHat'
|
||||
if facts[:operatingsystem] == 'Fedora'
|
||||
{ :evaluator_package_name => 'openstack-aodh-evaluator',
|
||||
:evaluator_service_name => 'openstack-aodh-evaluator',
|
||||
:redis_package_name => 'python3-redis' }
|
||||
else
|
||||
if facts[:operatingsystemmajrelease] > '7'
|
||||
{ :evaluator_package_name => 'openstack-aodh-evaluator',
|
||||
:evaluator_service_name => 'openstack-aodh-evaluator',
|
||||
:redis_package_name => 'python3-redis' }
|
||||
else
|
||||
{ :evaluator_package_name => 'openstack-aodh-evaluator',
|
||||
:evaluator_service_name => 'openstack-aodh-evaluator',
|
||||
:redis_package_name => 'python-redis' }
|
||||
end
|
||||
end
|
||||
{ :evaluator_package_name => 'openstack-aodh-evaluator',
|
||||
:evaluator_service_name => 'openstack-aodh-evaluator',
|
||||
:redis_package_name => 'python3-redis' }
|
||||
end
|
||||
end
|
||||
it_configures 'aodh-evaluator'
|
||||
|
Loading…
x
Reference in New Issue
Block a user