2010/4/8 Peter Meier <peter.meier@immerda.ch>
> 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-users@googlegroups.com.
> To unsubscribe from this group, send email to
>
puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>
Thanks it works perfectly, i''ll take a look to the ruby language.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.