Class: Puppet::Pops::UnconstrainedDeepMergeStrategy

Inherits:
DeepMergeStrategy show all
Defined in:
lib/puppet/pops/merge_strategy.rb

Overview

Same as DeepMergeStrategy but without constraint on valid merge options (needed for backward compatibility with Hiera v3)

Direct Known Subclasses

ReverseDeepMergeStrategy

Constant Summary

Constants inherited from DeepMergeStrategy

DeepMergeStrategy::INSTANCE

Constants inherited from MergeStrategy

MergeStrategy::NOT_FOUND

Class Method Summary collapse

Methods inherited from DeepMergeStrategy

#checked_merge, #deep_clone

Methods inherited from MergeStrategy

add_strategy, #configuration, #convert_value, #initialize, #lookup, #merge, merge, #merge_lookup, #merge_single, #options, strategy, strategy_keys

Constructor Details

This class inherits a constructor from Puppet::Pops::MergeStrategy

Class Method Details

.keyObject


414
415
416
# File 'lib/puppet/pops/merge_strategy.rb', line 414

def self.key
  :unconstrained_deep
end

.options_tTypes::PAnyType


419
420
421
# File 'lib/puppet/pops/merge_strategy.rb', line 419

def self.options_t
  @options_t ||= Types::TypeParser.singleton.parse('Hash[String[1],Any]')
end