puppet-neutron/manifests/plugins/ovs/port.pp
Tobias Urdin 94673ed159 Convert all class usage to relative names
Change-Id: I229428feb1cb4fc7b551d2654328a8f0bb349910
2019-12-08 23:12:32 +01:00

13 lines
176 B
Puppet

#
define neutron::plugins::ovs::port {
include neutron::deps
$mapping = split($name, ':')
vs_port {$mapping[1]:
ensure => present,
bridge => $mapping[0]
}
}