Puppet Function: get_in_addr_arpa

Defined in:
lib/puppet/functions/get_in_addr_arpa.rb
Function type:
Ruby 4.x API

Summary

DEPRECATED. Use the [`dns::reverse_dns`](#dnsreverse_dns) function instead.

Overview

get_in_addr_arpa(Any *$args)Any

Parameters:

  • *args (Any)

Returns:

  • (Any)


2
3
4
5
6
7
8
9
10
# File 'lib/puppet/functions/get_in_addr_arpa.rb', line 2

Puppet::Functions.create_function(:get_in_addr_arpa) do
  dispatch :deprecation_gen do
    repeated_param 'Any', :args
  end
  def deprecation_gen(*args)
    call_function('deprecation', 'get_in_addr_arpa', 'This method is deprecated, please use dns::reverse_dns instead.')
    call_function('dns::reverse_dns', *args)
  end
end