Just a thought, where should I have looked for that? Is it pure Ruby?

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 <ug...@lubik.ca <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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5ff43cdd-2811-4d23-9887-5201e8da7004%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to