On Aug 31, 2012, at 10:40 AM, banjer wrote:
> Thanks for the reply KW, but thats not quite what I was asking.  Heres the 
> relevant section of the template:
> 
> 
> *.notice;news.none;cron.none @loghost:514
> 
> <% if @hostname == "foo" %>
>   # Provides UDP syslog reception
>   $ModLoad imudp.so
>   $UDPServerRun 514
> <% end %>
> 
> So you can see it lives outside of a <%  %> block.

Since you didn't seem to get an answer, I think you need to reread the above. 
The problem isn't the loghost line. Your if statement clearly uses a @ 
character before hostname. I suspect that this is your only problem, and 
removing the @ will solve your problem.

-- 
Jo Rhett
Net Consonance : net philanthropy to improve open source and internet projects.



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