Use the Stdlib::Compat::Ipv4, ::Ipv6 and ::Ip_address data types --- R.I.Pienaar
> On 15 Feb 2018, at 01:41, John Baird <[email protected]> wrote: > > > According to the stdlib docs, "is_ip_address" is deprecated. There is no > mention of how to replace it without using "validate_legacy" which itself > will ultimately be deprecated. > > Is there a better/proper approach to validating IPv4 and/or IPv6 syntax with > Puppet 5 ? > ` > is_ip_address > Deprecated. Will be removed in a future version of stdlib. See > validate_legacy. > > Returns true if the string passed to this function is a valid IP address. > > Type: rvalue. > > ` > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/3275659c-d7c0-487f-979b-8e62da5a3cd1%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/4EE2011A-5745-4351-A819-785AF0CE17E3%40devco.net. For more options, visit https://groups.google.com/d/optout.
