I would like to specify a condition, what is the wright syntax for <% if hostname == 'some' or 'someother' then %>
erb is plain ruby, so have a look at the ruby language, how the right syntax would be. I assume you would like to do something like:
<% if (hostname == 'some') || (hostname == 'someother') then %> cheers pete -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.