Puppet Function: convert_hiera_yaml_to_v5
- Defined in:
- lib/puppet/parser/functions/convert_hiera_yaml_to_v5.rb
- Function type:
- Ruby 3.x API
Overview
Convert parameter from Hiera v3 YAML to Hiera v5.
9 10 11 12 13 14 15 |
# File 'lib/puppet/parser/functions/convert_hiera_yaml_to_v5.rb', line 9 newfunction(:convert_hiera_yaml_to_v5, :type => :rvalue, :arity => 1, :doc => <<-EOS Convert parameter from Hiera v3 YAML to Hiera v5. EOS ) do |args| HieraFiver.new(args[0]).to_5 end |