Method: Puppet::Parameter#provider

Defined in:
lib/puppet/parameter.rb

#providerPuppet::Provider

TODO:

The original comment says = _“Retrieve the resource’s provider. Some types don’t have providers, in which case we return the resource object itself.”_ This does not seem to be true, the default implementation that sets this value may be Type.provider= which always gets either the name of a provider or an instance of one.

Returns the provider of the associated resource.

Returns:



525
526
527
# File 'lib/puppet/parameter.rb', line 525

def provider
  @resource.provider
end