Class: Puppet::Pops::ReverseDeepMergeStrategy
- Inherits:
-
UnconstrainedDeepMergeStrategy
- Object
- MergeStrategy
- DeepMergeStrategy
- UnconstrainedDeepMergeStrategy
- Puppet::Pops::ReverseDeepMergeStrategy
- Defined in:
- lib/puppet/pops/merge_strategy.rb
Overview
Same as UnconstrainedDeepMergeStrategy but with reverse priority of merged elements. (needed for backward compatibility with Hiera v3)
Constant Summary collapse
- INSTANCE =
self.new(EMPTY_HASH)
Constants inherited from MergeStrategy
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from UnconstrainedDeepMergeStrategy
Methods inherited from DeepMergeStrategy
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
.key ⇒ Object
424 425 426 |
# File 'lib/puppet/pops/merge_strategy.rb', line 424 def self.key :reverse_deep end |
Instance Method Details
#checked_merge(e1, e2) ⇒ Object
428 429 430 |
# File 'lib/puppet/pops/merge_strategy.rb', line 428 def checked_merge(e1, e2) super(e2, e1) end |