HomePhorge

(PUP-3850) Set the defaultprovider for the init service test
5468514c1c90Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3850) Set the defaultprovider for the init service test

Previously, the init_spec test failed on Fedora, because puppet loaded
each service provider, checking to see which was the default. Due to
how providers are confined, it caused Facter to load various facts,
interfering with the stubbed File.directory? method.

This commit specifies the defaultprovider to short circuit that process.
It also clears the defaultprovider, similar to what was done in
commit 6d2eeaaee.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU6969b4bff6a6: (PUP-3850) Expect -M when executing useradd on RedHat
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU5468514c1c90: (PUP-3850) Set the defaultprovider for the init service test (authored by Josh Cooper <josh@puppetlabs.com>).Jan 16 2015, 11:44 PM