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

Handle all of the work around performing an actual change, including calling ‘sync’ on the properties and producing events.

Methods

backward   changed?   event   forward   go   new   noop?   resource   to_s  

Attributes

changed  [RW] 
is  [RW] 
path  [RW] 
property  [RW] 
proxy  [RW] 
should  [RW] 

Public Class methods

Public Instance methods

Switch the goals of the property, thus running the change in reverse.

Create our event object.

Perform the actual change. This method can go either forward or backward, and produces an event.

Is our property noop? This is used for generating special events.

The resource that generated this change. This is used for handling events, and the proxy resource is used for generated resources, since we can‘t send an event to a resource we don‘t have a direct relationship. If we have a proxy resource, then the events will be considered to be from that resource, rather than us, so the graph resolution will still work.

[Validate]