projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
lib
/
puppet
/
parser
/
functions
/
has_ip_address.rb
diff --git
a/3rdparty/modules/stdlib/lib/puppet/parser/functions/has_ip_address.rb
b/3rdparty/modules/stdlib/lib/puppet/parser/functions/has_ip_address.rb
index
5f14ee2
..
4004681
100644
(file)
--- a/
3rdparty/modules/stdlib/lib/puppet/parser/functions/has_ip_address.rb
+++ b/
3rdparty/modules/stdlib/lib/puppet/parser/functions/has_ip_address.rb
@@
-3,7
+3,11
@@
#
module Puppet::Parser::Functions
newfunction(:has_ip_address, :type => :rvalue, :doc => <<-DOC
#
module Puppet::Parser::Functions
newfunction(:has_ip_address, :type => :rvalue, :doc => <<-DOC
- Returns true if the client has the requested IP address on some interface.
+ @summary
+ Returns true if the client has the requested IP address on some interface.
+
+ @return [Boolean]
+ `true` or `false`
This function iterates through the 'interfaces' fact and checks the
'ipaddress_IFACE' facts, performing a simple string comparison.
This function iterates through the 'interfaces' fact and checks the
'ipaddress_IFACE' facts, performing a simple string comparison.