Update stdlib
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / types / mac.pp
diff --git a/3rdparty/modules/stdlib/types/mac.pp b/3rdparty/modules/stdlib/types/mac.pp
new file mode 100644 (file)
index 0000000..4103574
--- /dev/null
@@ -0,0 +1,2 @@
+# A type for a MAC address
+type Stdlib::MAC = Pattern[/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/]