Fix python development package name on RHEL
python-dev is not the correct package for RHEL systems and is instead python-devel. It looks as thought this package is also installed in other places for Ubuntu/Debian systems so this seems like logical to remove the duplicate package resource. Change-Id: Ifb6c439171ed6a65ba67cc6fe8076d2fa42da32d
This commit is contained in:
parent
c69306da58
commit
a5bddb0812
|
@ -60,7 +60,7 @@ when 'fedora', 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
|
|||
default['openstack']['integration-test']['platform'] = {
|
||||
tempest_packages: %w(git libxslt-devel
|
||||
libxml2-devel python-testrepository
|
||||
libffi-devel python-setuptools),
|
||||
libffi-devel python-devel python-setuptools),
|
||||
package_overrides: ''
|
||||
}
|
||||
when 'debian'
|
||||
|
|
|
@ -25,11 +25,10 @@ class Chef::Resource::RubyBlock # rubocop:disable Documentation
|
|||
include ::Openstack
|
||||
end
|
||||
|
||||
package 'python-dev'
|
||||
python_runtime '2'
|
||||
|
||||
platform_options = node['openstack']['integration-test']['platform']
|
||||
|
||||
python_runtime '2'
|
||||
|
||||
platform_options['tempest_packages'].each do |pkg|
|
||||
package pkg do
|
||||
options platform_options['package_overrides']
|
||||
|
|
Loading…
Reference in New Issue