HomePhorge

Modified the behavior of Puppet::Resource::Status as follows:
4d3030c6dd67Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Modified the behavior of Puppet::Resource::Status as follows:

  • #change_count now only counts events that represent successful changes. It does not count failures, audits, or noops.
  • #changed is equivalent to #change_count > 0.
  • #out_of_sync_count (a new attribute) counts all events except audits.
  • #out_of_sync is equivalent to #out_of_sync_count > 0.

This should hopefully make the summary statistics in reports more useful.

Details

Provenance
Paul Berry <paul@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU7fff7808e254: (#5408) Reworked ResourceHarness so that code is clearer and all behaviors…
Branches
Unknown
Tags
Unknown

Event Timeline

Paul Berry <paul@puppetlabs.com> committed rPU4d3030c6dd67: Modified the behavior of Puppet::Resource::Status as follows: (authored by Paul Berry <paul@puppetlabs.com>).Dec 17 2010, 8:02 PM