Remove python_runtime references
In Chef 13+, resource duplication behaves differently. By centralizing python_runtime to openstack-common, the resource executes once in a given Chef run, instead of attempting to reinstall python multiple times. Change-Id: Ife452a1e21a82c877f4aceb85d768ed2f758e0de
This commit is contained in:
parent
9f7cb4d4de
commit
c23a6a1d91
|
@ -27,11 +27,6 @@ end
|
|||
|
||||
platform_options = node['openstack']['integration-test']['platform']
|
||||
|
||||
python_runtime 'tempest' do
|
||||
version '2'
|
||||
provider :system
|
||||
end
|
||||
|
||||
platform_options['tempest_packages'].each do |pkg|
|
||||
package pkg do
|
||||
options platform_options['package_overrides']
|
||||
|
@ -88,7 +83,6 @@ tempest_path = '/opt/tempest'
|
|||
venv_path = '/opt/tempest-venv'
|
||||
|
||||
python_virtualenv venv_path do
|
||||
python 'tempest'
|
||||
system_site_packages true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue