HomePhorge

Use :as_platform in the redhat service spec
876785a5449bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Use :as_platform in the redhat service spec

This spec was stubbing features to make Puppet::Util.absolute_path? behave as
if on posix, but changes in #12101 made that method use File::ALT_SEPARATOR.
It also introduced the :as_platform context for specs to abstract this type of
stubbing.

Details

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPU876785a5449b: Use :as_platform in the redhat service spec (authored by Patrick Carlisle <patrick@puppetlabs.com>).Apr 12 2012, 12:14 AM