From: Silvio Rhatto Date: Thu, 24 Mar 2016 18:01:45 +0000 (-0300) Subject: Put back log_kernel_msgs variable and update version to 3.5 for wheezy X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8a4a4c7b308bd748d4de158e7217e6617560bfc3;p=puppet-syslog-ng.git Put back log_kernel_msgs variable and update version to 3.5 for wheezy --- diff --git a/templates/syslog-ng.conf_jessie.erb b/templates/syslog-ng.conf_jessie.erb index 953295d..aea3e1c 100644 --- a/templates/syslog-ng.conf_jessie.erb +++ b/templates/syslog-ng.conf_jessie.erb @@ -25,7 +25,9 @@ options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no); # Logs may come from unix stream, but not from another machine. # source s_src { +<% if (@log_kernel_msgs == true) -%> system(); +<% end -%> internal(); }; diff --git a/templates/syslog-ng.conf_wheezy.erb b/templates/syslog-ng.conf_wheezy.erb index 9ab9101..1f73cbf 100644 --- a/templates/syslog-ng.conf_wheezy.erb +++ b/templates/syslog-ng.conf_wheezy.erb @@ -1,4 +1,4 @@ -@version: 3.3 +@version: 3.5 @include "scl.conf" @include "`scl-root`/system/tty10.conf" @@ -25,7 +25,9 @@ options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no); # Logs may come from unix stream, but not from another machine. # source s_src { +<% if (@log_kernel_msgs == true) -%> system(); +<% end -%> internal(); };