From c23a6a1d911e06e4dae5ad4b7436a6b8ed90ff13 Mon Sep 17 00:00:00 2001 From: Samuel Cassiba Date: Wed, 11 Apr 2018 22:28:30 -0700 Subject: [PATCH] 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 --- recipes/setup.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/recipes/setup.rb b/recipes/setup.rb index 255b48f..eb10608 100644 --- a/recipes/setup.rb +++ b/recipes/setup.rb @@ -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