Method: Puppet::Pops::Lookup::ConfiguredDataProvider#name

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

#nameString

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 the name of this provider.

Returns:

  • (String)

    the name of this provider



33
34
35
36
37
38
39
# File 'lib/puppet/pops/lookup/configured_data_provider.rb', line 33

def name
  n = "#{place} "
  n << '"' << module_name << '" ' unless module_name.nil?
  n << 'Data Provider'
  n << " (#{@config.name})" unless @config.nil?
  n
end