Class Puppet::Transaction
In: lib/puppet/transaction.rb
Parent: Object

Methods

Included Modules

Puppet::Util Puppet::Util::Tagging

Attributes

catalog  [RW] 
component  [RW] 
configurator  [RW] 
event_manager  [R]  Routes and stores any events and subscriptions.
ignoreschedules  [RW] 
report  [RW]  The report, once generated.
resource_harness  [R]  Handles most of the actual interacting with resources
sorted_resources  [RW] 

Public Class methods

this should only be called by a Puppet::Type::Component resource now and it should only receive an array

Public Instance methods

Add some additional times for reporting

Are there any failed resources in this transaction?

Apply all changes for a resource

Find all of the changed resources.

See if the resource generates new resources at evaluation time.

Evaluate a single resource.

This method does all the actual work of running a transaction. It collects all of the changes, executes them, and responds to any necessary events.

Does this resource have any failed dependencies?

Collect any dynamically generated resources. This method is called before the transaction starts.

A general method for recursively generating new resources from a resource.

Should we ignore tags?

Copy an important relationships from the parent to the newly-generated child resource.

Is this resource tagged appropriately?

Prefetch any providers that support it. We don‘t support prefetching types, just providers.

Prepare to evaluate the resources in a transaction.

Is the resource currently scheduled?

Should this resource be skipped?

Wraps application run state check to flag need to interrupt processing

The tags we should be checking.

[Validate]