Puppet Function: has_ip_address
- Defined in:
-
lib/puppet/functions/has_ip_address.rb
- Function type:
- Ruby 4.x API
Summary
DEPRECATED. Use the namespaced function [`stdlib::has_ip_address`](#stdlibhas_ip_address) instead.
Overview
has_ip_address(Any *$args) ⇒ Any
6
7
8
9
10
11
12
13
14
|
# File 'lib/puppet/functions/has_ip_address.rb', line 6
Puppet::Functions.create_function(:has_ip_address) do
dispatch :deprecation_gen do
repeated_param 'Any', :args
end
def deprecation_gen(*args)
call_function('deprecation', 'has_ip_address', 'This function is deprecated, please use stdlib::has_ip_address instead.', false)
call_function('stdlib::has_ip_address', *args)
end
end
|