sous-chefs / rsyslog

Development repository for the rsyslog cookbook
https://supermarket.chef.io/cookbooks/rsyslog
Apache License 2.0
65 stars 199 forks source link

2.2.0 broke omrelp #98

Closed docwhat closed 8 years ago

docwhat commented 8 years ago

I keep getting lines like this my 49-remote.conf file when using rsyslog::client:

*.* :omrelp:{"server"=>"10.0.10.10", "port"=>514, "logs"=>"*.*", "protocol"=>"tcp", "remote_template"=>"RSYSLOG_ForwardFormat"}:20514;RSYSLOG_ForwardFormat

The bit in the {...} characters seems to be the ruby expression of rsyslog_servers in version 2.2.0.

Rolling back to 2.1.0 fixes this problem.

docwhat commented 8 years ago

BTW: What I expected was:

*.* :omrelp:10.0.10.10:20514;RSYSLOG_ForwardFormat
tas50 commented 8 years ago

Fixing that now and working out a test to make sure we actually valid relp in the future

tas50 commented 8 years ago

Should be fixed in master now. Thanks for the example of what it should look like.

docwhat commented 8 years ago

W00T!