Sha256: 29b3f0be9bf4ad2b2f5337eb6653c85228f7d2be39e1acc498d116e60b85b7c4
Contents?: true
Size: 866 Bytes
Versions: 63
Compression:
Stored size: 866 Bytes
Contents
# This file is loaded by the autoloader, and it does not find the data function support unless required relative # require_relative 'data_function_support' module Puppet::DataProviders; end # The FunctionEnvDataProvider provides data from a function called 'environment::data()' that resides in a # directory environment (seen as a module with the name environment). # The function is called on demand, and is associated with the compiler via an Adapter. This ensures that the data # is only produced once per compilation. # class Puppet::DataProviders::FunctionEnvDataProvider < Puppet::Plugins::DataProviders::EnvironmentDataProvider include Puppet::DataProviders::DataFunctionSupport def loader(key, scope) # This loader allows the data function to be private or public in the environment scope.compiler.loaders.private_environment_loader end end
Version data entries
63 entries across 63 versions & 2 rubygems