Skip to content

Conversation

@pcarlisle
Copy link
Contributor

This path type will expand all paths in a string separated by File::PATH_SEPARATOR, but does not add the paths to the settings catalog. This helps the most on Windows, where it means that paths given to settings will consistently use File::SEPARATOR, no matter how they were entered by the user.

@slippycheeze
Copy link
Contributor

This needs to be rebased against current master, as it has some conflicts that I am uncertain how to resolve.

Before this munging happened before variable interpolation in settings. This
made it impossible to expand a path properly if it contained a reference to
another setting. By munging after variable interpolation we can solve this
problem.
This path type will expand all paths in a string separated by
File::PATH_SEPARATOR, but does not add the paths to the settings catalog. This
helps the most on Windows, where it means that paths given to settings will
consistently use File::SEPARATOR, no matter how they were entered by the user.
File settings could be files or directories based on whether the setting name
contained 'dir' or if the value ended in a slash. We now have a distinct
directory type and this is no longer necessary.
@pcarlisle
Copy link
Contributor Author

Rebased

slippycheeze added a commit that referenced this pull request Apr 30, 2012
@slippycheeze slippycheeze merged commit 484e170 into puppetlabs:master Apr 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants