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 puppetlabs/stdlib module
[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
index
4103574
..
6445957
100644
(file)
--- a/
3rdparty/modules/stdlib/types/mac.pp
+++ b/
3rdparty/modules/stdlib/types/mac.pp
@@
-1,2
+1,5
@@
# A type for a MAC address
-type Stdlib::MAC = Pattern[/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/]
+type Stdlib::MAC = Pattern[
+ /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/,
+ /^([0-9A-Fa-f]{2}[:-]){19}([0-9A-Fa-f]{2})$/
+]