HomePhorge

(maint) Use real types and providers to exercise post_resource_eval
fd18186f44c8Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Use real types and providers to exercise post_resource_eval

Previously, the spec tests were using the user type to test
post_resource_eval, but this has the side-effect of enumerating all of
the users on the system. On Mac OSX, this takes upwards of 4 seconds due
to parsing plist info.

This commit adds two new test-specific providers, which override the
post_resource_eval method, like a real type would do.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU843d469fc681: Merge pull request #2703 from jpartlow/issue/master/pup-1843-hiera-indirector
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUfd18186f44c8: (maint) Use real types and providers to exercise post_resource_eval (authored by Josh Cooper <josh@puppetlabs.com>).May 29 2014, 12:07 AM