Puppet Class: neutron::plugins::ml2::networking_baremetal
- Defined in:
- manifests/plugins/ml2/networking_baremetal.pp
Overview
This class installs and configures the networking-baremetal Neutron plugin
Class: neutron::plugins::ml2::networking_baremetal
Parameters
- package_ensure
-
(optional) The intended state of the python-networking-baremetal package, i.e. any of the possible values of the ‘ensure’ property for a package resource type. Defaults to ‘present’
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'manifests/plugins/ml2/networking_baremetal.pp', line 13
class neutron::plugins::ml2::networking_baremetal(
$package_ensure = 'present',
) {
include neutron::deps
include neutron::params
if($::osfamily != 'RedHat') {
# Drivers are only packaged for RedHat at this time
fail("Unsupported osfamily ${::osfamily}")
} else {
package { 'python-networking-baremetal':
ensure => $package_ensure,
name => $::neutron::params::networking_baremetal_package,
tag => ['openstack', 'neutron-plugin-ml2-package'],
}
}
}
|