Puppet Function: merge_hardening
- Defined in:
- lib/puppet/parser/functions/merge_hardening.rb
- Function type:
- Ruby 3.x API
Overview
1 2 3 4 5 6 7 |
# File 'lib/puppet/parser/functions/merge_hardening.rb', line 1 Puppet::Parser::Functions::newfunction(:merge_hardening, :type => :rvalue) do |args| user_params = args[0] hardening_params = args[1] # return the merged value HardeningStdlib.deep_merge_hardening user_params, hardening_params end |