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
407 408 409 |
# File 'lib/puppet/pops/merge_strategy.rb', line 407 def self.key :unconstrained_deep end |
.options_t ⇒ Types::PAnyType
Returns the puppet type used when validating the options hash.
412 413 414 |
# File 'lib/puppet/pops/merge_strategy.rb', line 412 def self. @options_t ||= Types::TypeParser.singleton.parse('Hash[String[1],Any]') end |