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 =
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, options_t, strategy, strategy_keys
Constructor Details
This class inherits a constructor from Puppet::Pops::MergeStrategy
Class Method Details
.key ⇒ Object
437 438 439 |
# File 'lib/puppet/pops/merge_strategy.rb', line 437 def self.key :reverse_deep end |
Instance Method Details
#checked_merge(e1, e2) ⇒ Object
441 442 443 |
# File 'lib/puppet/pops/merge_strategy.rb', line 441 def checked_merge(e1, e2) super(e2, e1) end |