HomePhorge

Working #3139 - ResourceHarness does caching
8f3e8bb31d51Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Working #3139 - ResourceHarness does caching

This is again about moving transactional behaviour out
of Puppet::Type and into the transactional code.

I initially moved this code into Resource::Status,
but it seemed to make more sense in the Harness - the
Status object should be thin and have no code
that doesn't make sense on both sides of the pipe,
it seemed.

The interface gets a bit uglier as a result, but this
is all about good design != good OO (because we're
increasing the argument count of methods by moving
them outside of the target class).

Signed-off-by: Luke Kanies <luke@puppetlabs.com>

Details

Provenance
Luke Kanies <luke@puppetlabs.com>Authored on
test branch <puppet-dev@googlegroups.com>Committed on Feb 17 2010, 3:50 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd6407f46f174: Working #3139 - removing obsolete checking in Storage
Branches
Unknown
Tags
Unknown

Event Timeline

test branch <puppet-dev@googlegroups.com> committed rPU8f3e8bb31d51: Working #3139 - ResourceHarness does caching (authored by Luke Kanies <luke@puppetlabs.com>).Feb 17 2010, 3:50 PM