Issue #18763 has been updated by Charlie Sharpsteen.

Status changed from Unreviewed to Closed
Branch set to 
https://github.com/puppetlabs/puppet/commit/b58d96f904974f342a7d8533472b51d7dd954fa7

This was fixed in 
[b58d96f](https://github.com/puppetlabs/puppet/commit/b58d96f904974f342a7d8533472b51d7dd954fa7).

----------------------------------------
Bug #18763: find_template function in source doesn't work as documented.
https://projects.puppetlabs.com/issues/18763#change-89311

* Author: Rudy Gevaert
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
https://github.com/puppetlabs/puppet/commit/b58d96f904974f342a7d8533472b51d7dd954fa7
----------------------------------------
Hello,

The documentation of the find_template function (puppet/parser/files.rb, lines 
30-56 (puppet v2.7.18)) states that templates are searched in modules before 
the templatedir config variable. The implementation is the other way around. 
First the templatedir is searched and only if nothing is found the template is 
searched in modules.

Rudy


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to