Updated lbaasv2 remote path for Ocata Release
- now using stable/ocata branch to pull file Change-Id: I6a656b7ecf01e026b80fc322282a2e284ea141ed
This commit is contained in:
parent
7ce8fd619d
commit
943c3a6aeb
|
@ -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]'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue