puppet-neutron/manifests/plugins/ovs/bridge.pp
Clayton O'Neill 8b2319e210 Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: Idb1332dd498bb3065720f2ccaf68e6b0e9fa80c3
2016-06-09 09:55:27 -04:00

15 lines
225 B
Puppet

#
define neutron::plugins::ovs::bridge {
include ::neutron::deps
$mapping = split($name, ':')
$bridge = $mapping[1]
vs_bridge {$bridge:
ensure => present,
external_ids => "bridge-id=${bridge}"
}
}