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_network.rb
diff --git
a/3rdparty/modules/stdlib/lib/puppet/parser/functions/has_ip_network.rb
b/3rdparty/modules/stdlib/lib/puppet/parser/functions/has_ip_network.rb
index
65f2789
..
b4a3bad
100644
(file)
--- a/
3rdparty/modules/stdlib/lib/puppet/parser/functions/has_ip_network.rb
+++ b/
3rdparty/modules/stdlib/lib/puppet/parser/functions/has_ip_network.rb
@@
-3,7
+3,11
@@
#
module Puppet::Parser::Functions
newfunction(:has_ip_network, :type => :rvalue, :doc => <<-DOC
#
module Puppet::Parser::Functions
newfunction(:has_ip_network, :type => :rvalue, :doc => <<-DOC
- Returns true if the client has an IP address within the requested network.
+ @summary
+ Returns true if the client has an IP address within the requested network.
+
+ @return
+ Boolean value, `true` if the client has an IP address within the requested network.
This function iterates through the 'interfaces' fact and checks the
'network_IFACE' facts, performing a simple string comparision.
This function iterates through the 'interfaces' fact and checks the
'network_IFACE' facts, performing a simple string comparision.