summaryrefslogtreecommitdiff
path: root/types/compat/ipv6.pp
diff options
context:
space:
mode:
authorHelen Campbell <helen@puppetlabs.com>2016-08-16 11:55:05 +0100
committerHelen Campbell <helen@puppetlabs.com>2016-08-17 13:49:42 +0100
commit6d185bdaa19f698270a0df4b0a0c05618864b955 (patch)
tree2d005f4664838214a4e3284e73a2060453a1216c /types/compat/ipv6.pp
parent1d9d2c02d6669d4a6219140ae7ff3648a30c89cf (diff)
Deprecation of ip functions
Diffstat (limited to 'types/compat/ipv6.pp')
-rw-r--r--types/compat/ipv6.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/types/compat/ipv6.pp b/types/compat/ipv6.pp
new file mode 100644
index 0000000..18b148d
--- /dev/null
+++ b/types/compat/ipv6.pp
@@ -0,0 +1 @@
+type Stdlib::Compat::Ipv6 = Pattern[/^(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|((?:[\da-f]{1,4}:){6})(\d+)\.(\d+)\.(\d+)\.(\d+))$/]