I am trying to convert this:

<% if oracle_rac_sandbox_servers.include?(hostname) -%>

Into a format valid for the 2.8 version.... I try:

<% if 
scope.lookupvar('::oracle_rac_sandbox_servers').include?(scope.lookupvar('::hostname'))
-%>

but I get syntax error, unexpected tIDENTIFIER, expecting ')'

What am I doing wrong?

Thanks a lot,
Mohamed.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to