diff options
author | Matt Bostock <matt@mattbostock.com> | 2015-11-23 23:45:55 +0000 |
---|---|---|
committer | Matt Bostock <matt@mattbostock.com> | 2015-11-23 23:45:55 +0000 |
commit | 7b068781a506bf7f7a78a32adbe60eec292b9326 (patch) | |
tree | ec8a13de75eb9899956e75fd041179723dab6d07 /lib/puppet/parser/functions | |
parent | ef0c13b1afdd5fd339083015d387d669acd67066 (diff) | |
download | puppet-stdlib-7b068781a506bf7f7a78a32adbe60eec292b9326.tar.gz puppet-stdlib-7b068781a506bf7f7a78a32adbe60eec292b9326.tar.bz2 |
Fix reference to validate_bool in IP4 function
The documentation in `validate_ipv4_address` references `validate_bool`,
but I believe this should read `validate_ipv4_address` instead, which
makes more sense.
Diffstat (limited to 'lib/puppet/parser/functions')
-rw-r--r-- | lib/puppet/parser/functions/validate_ipv4_address.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/validate_ipv4_address.rb b/lib/puppet/parser/functions/validate_ipv4_address.rb index fc02748..97faa57 100644 --- a/lib/puppet/parser/functions/validate_ipv4_address.rb +++ b/lib/puppet/parser/functions/validate_ipv4_address.rb @@ -8,7 +8,7 @@ module Puppet::Parser::Functions $my_ip = "1.2.3.4" validate_ipv4_address($my_ip) - validate_bool("8.8.8.8", "172.16.0.1", $my_ip) + validate_ipv4_address("8.8.8.8", "172.16.0.1", $my_ip) The following values will fail, causing compilation to abort: |