projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
64459572afd51b53fdc61cdf6c67a34c6995428d
[mirror/dsa-puppet.git]
/
mac.pp
1
# A type for a MAC address
2
type Stdlib::MAC = Pattern[
3
/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/,
4
/^([0-9A-Fa-f]{2}[:-]){19}([0-9A-Fa-f]{2})$/
5
]