Puppet Function: merge_hardening

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

Overview

merge_hardening()Any

Returns:

  • (Any)


1
2
3
4
5
6
7
8
# 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]
  name = args[2] || ''

  # return the merged value
  HardeningStdlib.deep_merge_hardening user_params, hardening_params, name
end