summaryrefslogtreecommitdiff
path: root/types/compat/ipv6.pp
diff options
context:
space:
mode:
authorDavid Schmitt <david.schmitt@puppet.com>2016-08-17 14:46:12 +0100
committerGitHub <noreply@github.com>2016-08-17 14:46:12 +0100
commit0acff935f8b12938f0a21769a8959a8ba983e60d (patch)
tree8c33ddb7b86b324b6784059fcb4a4f71182de7fe /types/compat/ipv6.pp
parent88e9045fe894286458093ceb729277089a4f67d6 (diff)
parent6d185bdaa19f698270a0df4b0a0c05618864b955 (diff)
Merge pull request #637 from HelenCampbell/ipdeprecation
(MODULES-3534) 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+))$/]