diff --git a/manifests/params.pp b/manifests/params.pp index 054c666f..1a9b4fdc 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -4,9 +4,8 @@ # class trove::params { include openstacklib::defaults - $pyvers = $::openstacklib::defaults::pyvers - $client_package_name = "python${pyvers}-troveclient" + $client_package_name = 'python3-troveclient' $group = 'trove' case $::osfamily { diff --git a/spec/classes/trove_client_spec.rb b/spec/classes/trove_client_spec.rb index 04fedc87..2cec742c 100644 --- a/spec/classes/trove_client_spec.rb +++ b/spec/classes/trove_client_spec.rb @@ -59,15 +59,7 @@ describe 'trove::client' do when 'Debian' { :client_package_name => 'python3-troveclient' } when 'RedHat' - if facts[:operatingsystem] == 'Fedora' - { :client_package_name => 'python3-troveclient' } - else - if facts[:operatingsystemmajrelease] > '7' - { :client_package_name => 'python3-troveclient' } - else - { :client_package_name => 'python-troveclient' } - end - end + { :client_package_name => 'python3-troveclient' } end end