]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Add is_ipv4_address and is_ipv6_address functions
authorGiulio Fidente <gfidente@redhat.com>
Fri, 22 Jan 2016 16:55:03 +0000 (17:55 +0100)
committerGiulio Fidente <gfidente@redhat.com>
Fri, 22 Jan 2016 17:01:49 +0000 (18:01 +0100)
commitd85aec41a3b57a13f16086cc1ff7ed2fe09602b8
tree127bf0bab1c21e591ff0485c2374777670d4e24a
parent2a510169d6eb8be7155064e2b9569227e65f7d3c
Add is_ipv4_address and is_ipv6_address functions

These are useful when making decisions based on the type of IP
address received.
README.markdown
lib/puppet/parser/functions/is_ipv4_address.rb [new file with mode: 0644]
lib/puppet/parser/functions/is_ipv6_address.rb [new file with mode: 0644]
spec/acceptance/is_ipv4_address_spec.rb [new file with mode: 0755]
spec/acceptance/is_ipv6_address_spec.rb [new file with mode: 0755]