I would like to get some help with puppet about using an array in a
I've a custom facts that return me this:
tsm_vmp / /home /tmp /var/tmp /usr /var
I have a class that use this facts to split it on every space and to a
an entry in a template for each value, here is the code I use for
$virtualmountpoints = split($tsm_vmp, ' ')
owner => root,
group => root,
mode => 0600,
content => template("tsm/dsm.sys.erb"),
That's what's I have in my template
<% virtualmountpoints.each do |fs| -%>
virtualmountpoint <%= fs %>
<% end -%>
Thats what I get:
but I would like to get instead:
Do you know how to do this?
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.