Puppet Function: graphite::configparser_format

Defined in:
modules/graphite/lib/puppet/functions/graphite/configparser_format.rb
Function type:
Ruby 4.x API

Overview

graphite::configparser_format(Hash *$args)Any

Parameters:

  • *args (Hash)

Returns:

  • (Any)


35
36
37
38
39
40
41
42
# File 'modules/graphite/lib/puppet/functions/graphite/configparser_format.rb', line 35

Puppet::Functions.create_function(:'graphite::configparser_format') do
  dispatch :configparser_format do
    required_repeated_param 'Hash', :args
  end
  def configparser_format(*args)
    ConfigParser.format(ConfigParser.rmerge(*args))
  end
end