From a56b5f1ec81a67044f9a25a8a7d5682a4e3c8e7a Mon Sep 17 00:00:00 2001
From: Andres Moya <andres.moya.i@gmail.com>
Date: Thu, 12 Nov 2020 18:57:57 +0000
Subject: [PATCH] removed valid IPv6 address checks for comaptibility

---
 manifests/init.pp | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/manifests/init.pp b/manifests/init.pp
index a620f33..1c624c4 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -256,14 +256,9 @@ class network (
     'no'    => 'no',
     default => undef,
   }
-  if $ipv6_defaultgw {
-    if $ipv6_defaultgw =~ Stdlib::IP::Address::V6 {
-      $manage_ipv6_defaultgw = $ipv6_defaultgw
-    } else {
-      notify {"wrong IPv6 default gateway address: ${ipv6_defaultgw}":}
-      err ("wrong IPv6 default gateway address: ${ipv6_defaultgw}")
-    }
-  }
+  
+  $manage_ipv6_defaultgw = $ipv6_defaultgw
+  
   if $ipv6_radvd_pidfile =~ Stdlib::Absolutepath {
     $manage_ipv6_radvd_pidfile = $ipv6_radvd_pidfile
   } else {
-- 
GitLab