Inherit pyvers from openstacklib::defaults
Change-Id: Ie770b349c157bc36e19846971fece37f336a8b32
This commit is contained in:
parent
6e92f77e51
commit
2a6342ab79
|
@ -2,12 +2,7 @@
|
|||
#
|
||||
class freezer::params {
|
||||
include ::openstacklib::defaults
|
||||
|
||||
if ($::os_package_type == 'debian') {
|
||||
$pyvers = '3'
|
||||
} else {
|
||||
$pyvers = ''
|
||||
}
|
||||
$pyvers = $::openstacklib::defaults::pyvers
|
||||
|
||||
$api_deploy_method = 'apache'
|
||||
$api_bind_port = '9090'
|
||||
|
|
|
@ -24,11 +24,7 @@ describe 'freezer::client' do
|
|||
let(:platform_params) do
|
||||
case facts[:osfamily]
|
||||
when 'Debian'
|
||||
if facts[:os_package_type] == 'debian'
|
||||
{ :client_package_name => 'python3-freezerclient' }
|
||||
else
|
||||
{ :client_package_name => 'python-freezerclient' }
|
||||
end
|
||||
{ :client_package_name => 'python3-freezerclient' }
|
||||
when 'RedHat'
|
||||
{ :client_package_name => 'python-freezerclient' }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue