Method: Puppet::Pops::Lookup::ConfiguredDataProvider#initialize

Defined in:
lib/puppet/pops/lookup/configured_data_provider.rb

#initialize(config = nil) ⇒ ConfiguredDataProvider

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ConfiguredDataProvider.

Parameters:

  • config (HieraConfig, nil) (defaults to: nil)

    the configuration



13
14
15
# File 'lib/puppet/pops/lookup/configured_data_provider.rb', line 13

def initialize(config = nil)
  @config = config.nil? ? nil : assert_config_version(config)
end