Issue #4805 has been reported by Nico Schottelius.
----------------------------------------
Bug #4805: $name gets interpolated incorrectly
http://projects.puppetlabs.com/issues/4805
Author: Nico Schottelius
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected version:
Keywords:
Branch:
Hello!
When using
ns_server::website { "tech.schottelius.org":
owner => nico,
content => template("ns_server/tech.schottelius.org.erb"),
}
with the template
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;
}
}
it results into
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;
}
}
Interestingly, it works for other defines, in which I do not specify the
content in the ns_server::website define:
ns_server::website { "www.nico.schottelius.org": owner => nico, }
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.