lib/puppet/type/transition.rb
def change_to_s(currentvalue, newvalue)
      state = @resource[:attributes].inspect
      name  = @resource[:resource].to_s
      "transition state #{state} applied to #{name}"
    end
# When displaying that a change is occuring, use the attributes parameter
# to print the change.
When displaying that a change is occuring, use the attributes parameter
to print the change.
When displaying that a change is occuring use the attributes parameter to print the change .
def change_to_s(currentvalue, newvalue)
      state = @resource[:attributes].inspect
      name  = @resource[:resource].to_s
      "transition state #{state} applied to #{name}"
    end
def change_to_s ( currentvalue , newvalue ) state = @resource [ :attributes ] . inspect name = @resource [ :resource ] . to_s "transition state #{state} applied to #{name}" end
When displaying that a change is occuring, use the attributes parameter
to print the change.
When displaying that a change is occuring use the attributes parameter to print the change .
currentvalue
newvalue