9e94d0e08b
This reverts commit faec067d37
.
Reason for revert:
It was confirmed that the plugin will be still maintained. Releases
for Victoria and Wallaby were created an job templates were updated to
be consistent with branches in neutron repos.
Change-Id: I12c9deae9b69467845e084fc5991d004a981c339
34 lines
789 B
Puppet
34 lines
789 B
Puppet
#
|
|
# Install the Mellanox plugins and generate the config file
|
|
# from parameters in the other classes.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*package_ensure*]
|
|
# (optional) The intended state of the networking-mlnx
|
|
# package, i.e. any of the possible values of the 'ensure'
|
|
# property for a package resource type.
|
|
# Defaults to 'present'
|
|
#
|
|
|
|
class neutron::plugins::ml2::mellanox (
|
|
$package_ensure = 'present'
|
|
) {
|
|
|
|
include neutron::deps
|
|
include neutron::params
|
|
require neutron::plugins::ml2
|
|
|
|
if($::osfamily != 'RedHat') {
|
|
# Drivers are only packaged for RedHat at this time
|
|
fail("Unsupported osfamily ${::osfamily}")
|
|
}
|
|
|
|
ensure_resource('package', 'python-networking-mlnx',
|
|
{
|
|
ensure => $package_ensure,
|
|
tag => ['openstack', 'neutron-plugin-ml2-package']
|
|
}
|
|
)
|
|
}
|