HomePhorge

Stop trying to make config directories in Windows specs
b6ca78cc8d28Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Stop trying to make config directories in Windows specs

FileSetting#to_resource had a provision to not attempt to manage files in /dev,
which effectively stopped spec from trying to make their configuration
directories in /dev/null. However, on Windows, the path turns into something
like C:/dev/null, so the specs were still trying to manage their configuration
directories when this wasn't desired or handled by the spec.

Now, we also exclude management of C:/dev (or similar), to mimic the behavior
on Windows. Because this isn't a standard path (and thus will not be used for
anything else), there seems to be no harm in treating it as though it were
really /dev.

Reviewed-By: Josh Cooper <josh@puppetlabs.com>
(cherry picked from commit 44719fcf9f9053a7be1bea59d516f24d2234ede4)

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
Jacob Helwig <jacob@puppetlabs.com>Committed on Aug 19 2011, 10:52 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU4237cb1b1285: (#8272) Add missing tests for Windows service provider methods.
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPUb6ca78cc8d28: Stop trying to make config directories in Windows specs (authored by Nick Lewis <nick@puppetlabs.com>).Aug 19 2011, 10:52 PM