Title: Message Title
Vincent commented on an issue
Puppet / Bug PUP-2872
Problem with variable in array for template
I have the following parameters in my class manifest :
{code}
$datadir = '/home/test',
$confarray = ["datadir = ${datadir}","log-file = /var/log/${fqdn}"],
{code}
And the following in my conf template :
{code}
<%- @confarray.each do |conf| -%>
<%= conf %>
<%- end -%>
{code}
The output on my conf file is :
{code}
datadir =
log-file = /var/log...

--
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to