agents/bigswitch: deploy python-networking-bigswitch

In neutron::agents::bigswitch, we were requiring the plugin class for
bigswitch while we didn't need configuration, only
python-networking-bigswitch package.

This patch removes the plugin requirement on the nodes where agent is
run, and manage python-networking-bigswitch package using
ensure_packages so duplicated resources are allowed in catalog (in case
plugin & agent run on same nodes for some reasons).

Change-Id: I651515b865802e59fa1234b87f82a0020e3bb9ca
This commit is contained in:
Emilien Macchi 2016-06-23 10:18:47 -04:00
parent 6613d05d3f
commit 000f52e3e5

View File

@ -29,7 +29,12 @@ class neutron::agents::bigswitch (
fail("Unsupported osfamily ${::osfamily}")
}
require ::neutron::plugins::ml2::bigswitch
ensure_packages('python-networking-bigswitch',
{
ensure => $package_ensure,
tag => 'openstack',
}
)
package { 'bigswitch-lldp':
ensure => $package_ensure,