
neutron::plugins::ml2::netwokring_ansible should be applied after neutron::plugins::ml2, otherwise purge_config can remove the parameters unexpectedly. Also, all plugin packages should be install before configuration completes, otherwise these packages can be missing when actual code should be referred. Change-Id: Ide4e65b6deac381df954341adbb804c9432d8643
25 lines
528 B
Puppet
25 lines
528 B
Puppet
#
|
|
# Install the Fujitsu ML2 plugin.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*package_ensure*]
|
|
# (optional) The intended state of the Fujitsu ML2 plugin package
|
|
# i.e. any of the possible values of the 'ensure' property for a
|
|
# package resource type. Defaults to 'present'
|
|
#
|
|
|
|
class neutron::plugins::ml2::fujitsu (
|
|
$package_ensure = 'present'
|
|
) {
|
|
|
|
include neutron::deps
|
|
|
|
ensure_resource('package', 'python-networking-fujitsu',
|
|
{
|
|
ensure => $package_ensure,
|
|
tag => ['openstack', 'neutron-plugin-ml2-package']
|
|
}
|
|
)
|
|
}
|