Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 75

syntax error unexpected kend expecting $end

$
0
0
Hi, I am getting this error with the below syntax, any idea what I need to do to get this working? The ruby I believe seems ok. Details: <% if definition == "someserver" -%> $ModLoad imfile.so<% i = exec( "date +%Y_%m_%d" ) -%> $InputFileName /data/logs/weblogs/jetty-<%= i -%>.request.log<% end -%> Log anything (except mail) of level info or higher. Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none;local7.none /var/log/messages<% end -%>

Viewing all articles
Browse latest Browse all 75

Trending Articles