projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
3rdparty/modules/stdlib/types/mac.pp
@@ -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})$/]