Feature #6878
Allow file() function to specify module-root relative paths.
| Status: | Accepted | Start date: | 03/29/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | functions | |||
| Target version: | 2.7.x | |||
| Affected Puppet version: | Branch: | |||
| Keywords: | usability | |||
| Votes: | 0 |
Description
The file() function only allows for absolute path specification.
We need to bring it into consistency with the template() function and allow specification of module-root relative paths.
file(foo/bar)
should evaluate to:
$moduledir/foo/files/bar
Related issues