Class: Puppet::Pops::UnconstrainedDeepMergeStrategy
- Inherits:
-
DeepMergeStrategy
- Object
- MergeStrategy
- DeepMergeStrategy
- Puppet::Pops::UnconstrainedDeepMergeStrategy
- 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
Constant Summary
Constants inherited from DeepMergeStrategy
Constants inherited from MergeStrategy
Class Method Summary collapse
- .key ⇒ Object
-
.options_t ⇒ Types::PAnyType
The puppet type used when validating the options hash.
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
420 421 422 |
# File 'lib/puppet/pops/merge_strategy.rb', line 420 def self.key :unconstrained_deep end |
.options_t ⇒ Types::PAnyType
Returns the puppet type used when validating the options hash.
425 426 427 |
# File 'lib/puppet/pops/merge_strategy.rb', line 425 def self. @options_t ||= Types::TypeParser.singleton.parse('Hash[String[1],Any]') end |