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:
Lance Albertson 2017-06-21 16:27:50 -07:00
parent c69306da58
commit a5bddb0812
2 changed files with 3 additions and 4 deletions

View File

@ -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'

View File

@ -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']