Corrected Python runtime for neutron-lbaas-dashboard

- poise does things in Strange Ways. it works better for package-based
  applications when it's not constrained

Change-Id: I311bccb06f8a3b89dd29a78ca259ab85cfe23d3c
This commit is contained in:
Samuel Cassiba 2017-08-29 16:37:51 -04:00
parent 6e44af9d17
commit 8b31c8ddf2
2 changed files with 2 additions and 3 deletions

View File

@ -20,9 +20,8 @@ include_recipe 'openstack-dashboard::horizon'
django_path = node['openstack']['dashboard']['django_path']
# use system python for lbaasv2 dashboard
python_runtime 'neutron-lbaas-dashboard' do
python_runtime '2' do
provider :system
version '2.7'
end
python_package 'neutron-lbaas-dashboard' do

View File

@ -17,7 +17,7 @@ describe 'openstack-dashboard::neutron-lbaas-dashboard' do
end
it do
expect(chef_run).to install_python_runtime('neutron-lbaas-dashboard')
expect(chef_run).to install_python_runtime('2')
end
it do