summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/is_valid_domain_name.rb
diff options
context:
space:
mode:
authorKen Barber <ken@bob.sh>2011-07-29 23:09:30 +0100
committerKen Barber <ken@bob.sh>2011-07-29 23:09:30 +0100
commita1cae426f1d6b8f2c19184ec8aac3ebc47d97744 (patch)
tree2d40ab0b183ae285560569e625ee41df79e39784 /lib/puppet/parser/functions/is_valid_domain_name.rb
parent19313b43ea04066a88a0b78e83650ac52785e2e9 (diff)
(#3) Provide documentation for remaining functions.
Diffstat (limited to 'lib/puppet/parser/functions/is_valid_domain_name.rb')
-rw-r--r--lib/puppet/parser/functions/is_valid_domain_name.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/parser/functions/is_valid_domain_name.rb b/lib/puppet/parser/functions/is_valid_domain_name.rb
index 99d6f86..7dd9c0b 100644
--- a/lib/puppet/parser/functions/is_valid_domain_name.rb
+++ b/lib/puppet/parser/functions/is_valid_domain_name.rb
@@ -4,6 +4,7 @@
module Puppet::Parser::Functions
newfunction(:is_valid_domain_name, :type => :rvalue, :doc => <<-EOS
+Returns true if the string passed to this function is a valid IP address. Support for IPv4 and IPv6 address types is included.
EOS
) do |arguments|