HomePhorge

(#9491) Preserve trailing slashes in FileSettings
c4b3c8470698Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#9491) Preserve trailing slashes in FileSettings

We use the trailing slash in a FileSetting to determine whether it's a
directory. The change in 97c043f4 caused trailing slashes to be stripped.
This caused errors like:

change from directory to file failed: Could not set 'file on ensure: Is a directory - /var/lib/puppet/facts

Details

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPUc4b3c8470698: (#9491) Preserve trailing slashes in FileSettings (authored by Patrick Carlisle <patrick@puppetlabs.com>).Feb 28 2012, 10:53 PM