Method: Puppet::Resource#resource_type

Defined in:
lib/puppet/resource.rb

#resource_typePuppet::Type, Puppet::Resource::Type

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.

The resource’s type implementation



346
347
348
# File 'lib/puppet/resource.rb', line 346

def resource_type
  @rstype ||= self.class.resource_type(type, title, environment)
end