diff --git a/manifests/init.pp b/manifests/init.pp index 6e3798fd..d9dbf2f9 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