HomePhorge

(#650) Allow symlinks for configuration directories
3f0dbb5fb7d9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#650) Allow symlinks for configuration directories

Previously, pointing a setting like 'confdir' at a symlink to a directory would
replace the symlink with a directory. This was because files created by
settings implicitly managed links, rather than following them. This behavior is
now changed so that file settings will follow links.

The behavior of these symlinks is the same as any other file resource. That is,
if the target of the symlink doesn't exist, Puppet will consider this an
error. Similarly, if the target of the symlink is a file, then the symlink
will still be replaced with a directory, rather than replacing its target.

Reviewed-By: Jacob Helwig <jacob@puppetlabs.com>
Reviewed-By: Dominic Maraglia <dominic@puppetlabs.com>

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc260cf1c8f48: Fix acceptance tests not managing their masters
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU3f0dbb5fb7d9: (#650) Allow symlinks for configuration directories (authored by Nick Lewis <nick@puppetlabs.com>).Jun 7 2011, 11:36 PM