Class: Puppet::Plugins::DataProviders::EnvironmentDataProvider Deprecated Private
- Includes:
- DataProvider
- Defined in:
- lib/puppet/plugins/data_providers/data_provider.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
TODO: API 5.0 Remove this class
Direct Known Subclasses
DataProviders::FunctionEnvDataProvider, DataProviders::HieraEnvDataProvider
Constant Summary
Constants included from Puppet::Pops::Lookup::SubLookup
Puppet::Pops::Lookup::SubLookup::SPECIAL
Instance Method Summary collapse
- #data_key(key, lookup_invocation) ⇒ Object deprecated private Deprecated.
-
#initialize ⇒ EnvironmentDataProvider
constructor
private
A new instance of EnvironmentDataProvider.
Methods included from DataProvider
#key_lookup, #lookup, #name, #post_process, #unchecked_key_lookup, #unchecked_lookup, #validate_data
Methods included from Puppet::Pops::Lookup::Interpolation
Methods included from Puppet::Pops::Lookup::SubLookup
Methods included from Puppet::Pops::Lookup::DataProvider
#key_lookup, #key_lookup_in_default, key_type, #lookup, #module_name, #name, register_types, #unchecked_key_lookup, #validate_data_hash, #validate_data_value, #value_is_validated?, value_type
Constructor Details
#initialize ⇒ EnvironmentDataProvider
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 EnvironmentDataProvider.
184 185 186 187 188 189 |
# File 'lib/puppet/plugins/data_providers/data_provider.rb', line 184 def initialize unless Puppet[:strict] == :off Puppet.warn_once(:deprecation, 'Plugins::DataProviders::EnvironmentDataProvider', 'Plugins::DataProviders::EnvironmentDataProvider is deprecated and will be removed in the next major version of Puppet') end end |
Instance Method Details
#data_key(key, lookup_invocation) ⇒ Object
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.
193 194 195 |
# File 'lib/puppet/plugins/data_providers/data_provider.rb', line 193 def data_key(key, lookup_invocation) 'environment' end |