Not sure where I got 'host" from... replaced with with "hostname" and
that works!


On Tue, Feb 15, 2011 at 6:09 PM, Mohamed Lrhazi <lrh...@gmail.com> wrote:
> I just run into the same issue.... the fact "host" is not found inside
> a template:
>
> In a template I have:
>
> <% if host == "balmoral" -%>
> ...
> <% end -%>
>
> I get error:
>
>  Error 400 on SERVER: Failed to parse template
> gu_iptables/iptables.conf.erb: Could not find value for 'host'
>
> Any luck with this?
>
> 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