]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/neutron/manifests/plugins/ovs/port.pp
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / neutron / manifests / plugins / ovs / port.pp
diff --git a/3rdparty/modules/neutron/manifests/plugins/ovs/port.pp b/3rdparty/modules/neutron/manifests/plugins/ovs/port.pp
new file mode 100644 (file)
index 0000000..96b1c5c
--- /dev/null
@@ -0,0 +1,9 @@
+#
+define neutron::plugins::ovs::port {
+  $mapping = split($name, ':')
+  vs_port {$mapping[1]:
+    ensure => present,
+    bridge => $mapping[0]
+  }
+}
+