Updated lbaasv2 remote path for Ocata Release

- now using stable/ocata branch to pull file

Change-Id: I6a656b7ecf01e026b80fc322282a2e284ea141ed
This commit is contained in:
Christoph Albers 2017-07-21 15:57:03 +02:00
parent 7ce8fd619d
commit 943c3a6aeb
2 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ python_package 'neutron-lbaas-dashboard' do
end
remote_file "#{django_path}/openstack_dashboard/local/enabled/_1481_project_ng_loadbalancersv2_panel.py" do
source 'https://raw.githubusercontent.com/openstack/neutron-lbaas-dashboard/stable/mitaka/neutron_lbaas_dashboard/enabled/_1481_project_ng_loadbalancersv2_panel.py'
source 'https://raw.githubusercontent.com/openstack/neutron-lbaas-dashboard/stable/ocata/neutron_lbaas_dashboard/enabled/_1481_project_ng_loadbalancersv2_panel.py'
owner 'root'
mode 00644
notifies :run, 'execute[openstack-dashboard collectstatic]'

View File

@ -26,16 +26,16 @@ describe 'openstack-dashboard::neutron-lbaas-dashboard' do
it do
expect(chef_run).to create_remote_file(
'/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1481_project_ng_loadbalancersv2_panel.py'
"#{node['openstack']['dashboard']['django_path']}/openstack_dashboard/local/enabled/_1481_project_ng_loadbalancersv2_panel.py"
).with(
mode: 00644,
owner: 'root',
source: 'https://raw.githubusercontent.com/openstack/neutron-lbaas-dashboard/stable/mitaka/neutron_lbaas_dashboard/enabled/_1481_project_ng_loadbalancersv2_panel.py'
source: 'https://raw.githubusercontent.com/openstack/neutron-lbaas-dashboard/stable/ocata/neutron_lbaas_dashboard/enabled/_1481_project_ng_loadbalancersv2_panel.py'
)
end
it do
expect(chef_run.remote_file('/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1481_project_ng_loadbalancersv2_panel.py'))
expect(chef_run.remote_file("#{node['openstack']['dashboard']['django_path']}/openstack_dashboard/local/enabled/_1481_project_ng_loadbalancersv2_panel.py"))
.to notify('execute[openstack-dashboard collectstatic]')
end
end