Thanks a lot. Turns out I also had an actual whitespace after the "if tag" !!

On Thu, Feb 10, 2011 at 5:19 PM, Nan Liu <n...@puppetlabs.com> wrote:
> On Thu, Feb 10, 2011 at 2:15 PM, Mohamed Lrhazi <lrh...@gmail.com> wrote:
>> I have this in a template:
>>
>> ===============cut here=====================
>> # Allow ICMP traffic
>> -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
>>
>> <% if netbackup_master_servers %>
>
> Suppress the new line with a -%>
>
> <% if netbackup_master_servers -%>
>
> Thanks,
>
> Nan
>
> --
> 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.
>
>

-- 
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