Puppet Function: ordered_json

Defined in:
modules/wmflib/lib/puppet/parser/functions/ordered_json.rb
Function type:
Ruby 3.x API

Overview

ordered_json()Any

Returns:

  • (Any)


37
38
39
# File 'modules/wmflib/lib/puppet/parser/functions/ordered_json.rb', line 37

newfunction(:ordered_json, :type => :rvalue, :arity => -2) do |args|
  ordered_json(args.reduce(&:merge))
end