From 82a69a45eba820285d5f91b596669f919b6499e0 Mon Sep 17 00:00:00 2001 From: "Lowless, Dave" Date: Mon, 24 Aug 2020 15:17:53 +0100 Subject: [PATCH] Fix validate_ip_address to prevent Puppet 6 failures --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 6e3798f..d9dbf2f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -237,6 +237,6 @@ # $ips = [ '10.21.30.248', '123:4567:89ab:cdef:123:4567:89ab:cdef' ] # validate_ip_address { $ips: } # -define validate_ip_address { +define network::validate_ip_address { if ! is_ip_address($name) { fail("${name} is not an IP(v6) address.") } } # define validate_ip_address