Sha256: 1c4893be403eaaf11bc19e3ad78ac6138014848febc7e450384941b4c4c6a22c

Contents?: true

Size: 785 Bytes

Versions: 63

Compression:

Stored size: 785 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 FunctionModuleDataProvider 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::FunctionModuleDataProvider < Puppet::Plugins::DataProviders::ModuleDataProvider
  include Puppet::DataProviders::DataFunctionSupport

  def loader(key, scope)
    scope.compiler.loaders.private_loader_for_module(key)
  end
end

Version data entries

63 entries across 63 versions & 2 rubygems

Version Path
puppet-retrospec-1.5.0 vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb
puppet-retrospec-1.4.1 vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb
puppet-retrospec-1.4.0 vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb
puppet-retrospec-1.3.2 vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb
puppet-retrospec-1.3.1 vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb
puppet-retrospec-1.3.0 vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.7.1 lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.7.1-x86-mingw32 lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.7.1-x64-mingw32 lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.7.1-universal-darwin lib/puppet/data_providers/function_module_data_provider.rb
puppet-retrospec-1.2.1 vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb
puppet-retrospec-1.2.0 vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.7.0 lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.7.0-x86-mingw32 lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.7.0-x64-mingw32 lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.7.0-universal-darwin lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.6.2 lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.6.2-x86-mingw32 lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.6.2-x64-mingw32 lib/puppet/data_providers/function_module_data_provider.rb
puppet-4.6.2-universal-darwin lib/puppet/data_providers/function_module_data_provider.rb