Hi, If I write the following in a template
directories="<% backupDirList.each do |dir| -%><%= dir %> <% end -%>" then it will output directories="/appl /etc /usr/local " Question How do I print the backupDirList array, so it doesn't end with a blank space? Best regards, Sandra =) -- 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 protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
