If I write the following in a template
directories="<% backupDirList.each do |dir| -%><%= dir %> <% end -%>"
then it will output
directories="/appl /etc /usr/local "
How do I print the backupDirList array, so it doesn't end with a blank
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/crWCaGLzqAIJ.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.