HomePhorge

(#9435) Fix absolute path matching for file log destinations
f013c65ca84dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#9435) Fix absolute path matching for file log destinations

Puppet::Util::Log::DestFile requires that an absolute path be
specified as the log file destination. Previously, it enforced this
requirement using a regex that matched paths starting with '/', which
doesn't work on Windows.

This commit changes the file log destination type to use
Puppet::Util.absolute_path? when determining file absolute-ness.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb4ea0862b130: Merge pull request #90 from nicklewis/fix-pidlock-removal-failure
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUf013c65ca84d: (#9435) Fix absolute path matching for file log destinations (authored by Josh Cooper <josh@puppetlabs.com>).Sep 13 2011, 6:55 PM