Integrate OpenStack Horizon support for BGPVPN

To integrate Hozizon to BGPVPN feature:
- create links from plugin dashboard py files into horizon dashboard
- restart apache

Code fixes

Change-Id: I7740f9454cfbf8d076cf96e7bfade337090fb539
This commit is contained in:
Thomas Sounapoglou 2017-01-25 15:54:13 +02:00
parent e18d6579d2
commit cdf0ee0f60
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,16 @@
file { '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1495_project_bgpvpn_panel.py':
ensure => 'link',
target => '/usr/local/lib/python2.7/dist-packages/bgpvpn_dashboard/enabled/_1495_project_bgpvpn_panel.py',
}
file { '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_2115_admin_bgpvpn_panel.py':
ensure => 'link',
target => '/usr/local/lib/python2.7/dist-packages/bgpvpn_dashboard/enabled/_2115_admin_bgpvpn_panel.py',
}
File <||>
~>
service { 'apache2':
ensure => running,
}

View File

@ -8,3 +8,14 @@
puppet_manifest: puppet/manifests/install-bgpvpn.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 1400
- id: horizon_integration
version: 2.0.0
role: ['primary-controller', 'controller']
requires: [post_deployment_start]
required_for: [post_deployment_end]
type: puppet
parameters:
puppet_manifest: puppet/manifests/horizon_integration.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 1400