Method: Puppet::Type#pre_run_check

Defined in:
lib/puppet/type.rb

#pre_run_checkvoid

This method is abstract.

a resource type may implement this method to perform validation checks that can query the complete catalog

This method returns an undefined value.

Lifecycle method for a resource. This is called during graph creation. It should perform any consistency checking of the catalog and raise a Puppet::Error if the transaction should be aborted.

It differs from the validate method, since it is called later during initialization and can rely on self.catalog to have references to all resources that comprise the catalog.

Raises:

See Also:

  • Puppet::Transaction#add_vertex


1028
1029
# File 'lib/puppet/type.rb', line 1028

def pre_run_check
end