Issue #4805 has been updated by James Turnbull. Status changed from Unreviewed to Duplicate
Duplicate of #4736. ---------------------------------------- Bug #4805: $name gets interpolated incorrectly http://projects.puppetlabs.com/issues/4805 Author: Nico Schottelius Status: Duplicate Priority: Normal Assignee: Category: Target version: Affected version: Keywords: Branch: Hello! When using <pre> ns_server::website { "tech.schottelius.org": owner => nico, content => template("ns_server/tech.schottelius.org.erb"), } </pre> with the template <pre> server { # Only bind on the reserved IP address listen <%= ns_server_web_ipn %>:80; server_name <%= name %>; location / { rewrite .* http://www.nico.schottelius.org/about/computers/ permanent; } } </pre> it results into <pre> server { # Only bind on the reserved IP address listen 77.109.138.216:80; server_name Ns_server::Websites; location / { rewrite .* http://www.nico.schottelius.org/about/computers/ permanent; } } </pre> Interestingly, it works for other defines, in which I do not specify the content in the ns_server::website define: <pre> ns_server::website { "www.nico.schottelius.org": owner => nico, } </pre> Version on master and client is 2.6.0. The whole module can be found at http://git.sans.ethz.ch/?p=puppet-modules/ns_server;a=summary -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
