Feature #6878

Allow file() function to specify module-root relative paths.

Added by Nigel Kersten about 1 year ago.

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

related to Puppet - Feature #5158: File resources: Make source/content parameters and the fi... Needs Decision 10/30/2010

Also available in: Atom PDF