It works!

You guys are better than most vendor's service contract!

Thanks a lot!

Ugo

On Tuesday, March 8, 2016 at 1:30:38 AM UTC-5, R.I. Pienaar wrote:
>
> You can't nest the <% %> inside another. Try: 
>
> <%= if @rotatelogsuselink then "-L /var/log/httpd/#{@name}/access.log" end 
> %> 
>
> Everything inside is normal Ruby and that's how interpolation works there 
>
> --- 
> R.I.Pienaar 
>
> > On 8 Mar 2016, at 04:32, Ugo Bellavance <[email protected] <javascript:>> 
> wrote: 
> > 
> > > <%= if @rotatelogsuselink then "-L /var/log/httpd/<%= name 
> %>/access.log" end %> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/120a2e3b-219b-4296-b212-86c7af16e39f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to