HomePhorge

(maint) Move Dir.entries to private method for testing
cccc754fecc4Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Move Dir.entries to private method for testing

Previously, if you ran the opkg_spec in isolation, it would add stub the
Dir.entries method causing facter to fail to load external facts in
facts.d.

This commit moves the directory access to a private method that we can
stub without affecting other parts of puppet.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUa18965377f30: (maint) Explicitly specify the provider
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUcccc754fecc4: (maint) Move Dir.entries to private method for testing (authored by Josh Cooper <josh@puppetlabs.com>).Jan 16 2015, 2:05 AM