HomePhorge

(#5408) Reworked ResourceHarness so that code is clearer and all behaviors…
7fff7808e254Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#5408) Reworked ResourceHarness so that code is clearer and all behaviors are tested

This patch removes the Puppet::Transaction::Change class and replaces
it with a method,
Puppet::Transaction::ResourceHarness#apply_parameter. The new code is
shorter, more thoroughly unit tested, and addresses known bugs in
the interaction between auditing and performing changes.

This code does not address drawbacks in the report output (for example
a resource is still flagged as changed even if it merely contains
audit information); those will be addressed in a follow-up patch.

Details

Provenance
Paul Berry <paul@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU519e3857c7ed: Merge branch 'ticket/2.6.next/5493' into 2.6.next
Branches
Unknown
Tags
Unknown

Event Timeline