Re: [Puppet Users] erb syntaxe IF OR

2010-04-08 Thread smain kahlouch
2010/4/8 Peter Meier > 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 (hos

Re: [Puppet Users] erb syntaxe IF OR

2010-04-08 Thread Peter Meier
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 == '