HomePhorge

(#12101) Make Puppet::Util::absolute_path? usable in autoloader
3f28268b1716Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#12101) Make Puppet::Util::absolute_path? usable in autoloader

This makes Puppet::Util::absolute_path? check File::ALT_SEPARATOR to determine
path behavior of the local system instead of Puppet.features, which required
having an Autoload instance already. File::ALT_SEPARATOR is only defined on
systems with Windows path behavior, and the Ruby standard library uses this
frequently to distinguish systems.

Details

Provenance
Patrick Carlisle <patrick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU772f7566d68d: (#12101) Add shared context for specs to imitate windows or posix
Branches
Unknown
Tags
Unknown

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPU3f28268b1716: (#12101) Make Puppet::Util::absolute_path? usable in autoloader (authored by Patrick Carlisle <patrick@puppetlabs.com>).Mar 29 2012, 12:13 AM