]> gitweb.fluxo.info Git - puppet-syslog-ng.git/commitdiff
Fixing template formatting
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Feb 2011 12:44:08 +0000 (10:44 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Feb 2011 12:44:08 +0000 (10:44 -0200)
templates/syslog-ng.conf_lenny.erb
templates/syslog-ng.conf_lucid.erb
templates/syslog-ng.conf_squeeze.erb

index 9393e683958b815ae8ec65a2a4e1144a73fad22f..33e7e3668864065847e6f2943e905cbbca7de304 100644 (file)
@@ -110,11 +110,11 @@ log {
 filter f_sympa { program("^(sympa|bounced|archived|task_manager)"); };
 destination d_sympa { file("/var/log/sympa.log"); };
 log {
-       source(s_all);
-       filter(f_sympa);
-        filter(f_strip);
-       destination(d_sympa);
-       flags(final);
+    source(s_all);
+    filter(f_sympa);
+    filter(f_strip);
+    destination(d_sympa);
+    flags(final);
 };
 
 ############################################################
@@ -123,11 +123,11 @@ log {
 filter f_wwsympa { program("^wwsympa"); };
 destination d_wwsympa { file("/var/log/wwsympa.log"); };
 log {
-       source(s_all);
-       filter(f_wwsympa);
-       filter(f_strip);
-       destination(d_wwsympa);
-       flags(final);
+    source(s_all);
+    filter(f_wwsympa);
+    filter(f_strip);
+    destination(d_wwsympa);
+    flags(final);
 };
 
 ############################################################
@@ -136,11 +136,11 @@ log {
 filter f_ldap { program("slapd"); };
 destination d_ldap { file("/var/log/ldap.log"); };
 log {
-       source(s_all);
-       filter(f_ldap);
-        filter(f_strip);
-       destination(d_ldap);
-       flags(final);
+    source(s_all);
+    filter(f_ldap);
+    filter(f_strip);
+    destination(d_ldap);
+    flags(final);
 };
 
 ############################################################
@@ -151,11 +151,11 @@ log {
 filter f_postfix { program("^postfix/"); };
 destination d_postfix { file("/var/log/postfix.log"); };
 log {
-       source(s_all);
-       filter(f_postfix);
-       filter(f_strip);
-       destination(d_postfix);
-       flags(final);
+    source(s_all);
+    filter(f_postfix);
+    filter(f_strip);
+    destination(d_postfix);
+    flags(final);
 };
 
 ############################################################
@@ -164,11 +164,11 @@ log {
 filter f_courier { program("courier|imap|pop"); };
 destination d_courier { file("/var/log/courier.log"); };
 log {
-       source(s_all);
-       filter(f_courier);
-       filter(f_strip);
-       destination(d_courier);
-       flags(final);
+    source(s_all);
+    filter(f_courier);
+    filter(f_strip);
+    destination(d_courier);
+    flags(final);
 };
 
 ############################################################
@@ -177,11 +177,11 @@ log {
 filter f_maildrop { program("^maildrop"); };
 destination d_maildrop { file("/var/log/maildrop.log"); };
 log {
-       source(s_all);
-       filter(f_maildrop);
-       filter(f_strip);
-       destination(d_courier);
-       flags(final);
+    source(s_all);
+    filter(f_maildrop);
+    filter(f_strip);
+    destination(d_courier);
+    flags(final);
 };
 
 ############################################################
@@ -201,8 +201,8 @@ log {
 ## messages.log
 
 filter f_messages {
-       level(debug,info,notice)
-       and not facility(auth,authpriv,daemon,mail,user,kern);
+    level(debug,info,notice)
+    and not facility(auth,authpriv,daemon,mail,user,kern);
 };
 destination df_messages { file("/var/log/messages.log"); };
 log {
@@ -216,15 +216,15 @@ log {
 ## errors.log
 
 filter f_errors {
-       level(warn,err,crit,alert,emerg)
-       and not facility(auth,authpriv,daemon,mail,user,kern);
+    level(warn,err,crit,alert,emerg)
+    and not facility(auth,authpriv,daemon,mail,user,kern);
 };
 destination df_errors { file("/var/log/errors.log"); };
 log {
-       source(s_all);
-       filter(f_errors);
-  filter(f_strip);
-       destination(df_errors);
+    source(s_all);
+    filter(f_errors);
+    filter(f_strip);
+    destination(df_errors);
 };
 
 ############################################################
@@ -233,10 +233,10 @@ log {
 filter f_emerg { level(emerg); };
 destination du_all { usertty("*"); };
 log {
-       source(s_all);
-       filter(f_emerg);
-  filter(f_strip);
-       destination(du_all);
+    source(s_all);
+    filter(f_emerg);
+    filter(f_strip);
+    destination(du_all);
 };
 
 ############################################################
index 9393e683958b815ae8ec65a2a4e1144a73fad22f..33e7e3668864065847e6f2943e905cbbca7de304 100644 (file)
@@ -110,11 +110,11 @@ log {
 filter f_sympa { program("^(sympa|bounced|archived|task_manager)"); };
 destination d_sympa { file("/var/log/sympa.log"); };
 log {
-       source(s_all);
-       filter(f_sympa);
-        filter(f_strip);
-       destination(d_sympa);
-       flags(final);
+    source(s_all);
+    filter(f_sympa);
+    filter(f_strip);
+    destination(d_sympa);
+    flags(final);
 };
 
 ############################################################
@@ -123,11 +123,11 @@ log {
 filter f_wwsympa { program("^wwsympa"); };
 destination d_wwsympa { file("/var/log/wwsympa.log"); };
 log {
-       source(s_all);
-       filter(f_wwsympa);
-       filter(f_strip);
-       destination(d_wwsympa);
-       flags(final);
+    source(s_all);
+    filter(f_wwsympa);
+    filter(f_strip);
+    destination(d_wwsympa);
+    flags(final);
 };
 
 ############################################################
@@ -136,11 +136,11 @@ log {
 filter f_ldap { program("slapd"); };
 destination d_ldap { file("/var/log/ldap.log"); };
 log {
-       source(s_all);
-       filter(f_ldap);
-        filter(f_strip);
-       destination(d_ldap);
-       flags(final);
+    source(s_all);
+    filter(f_ldap);
+    filter(f_strip);
+    destination(d_ldap);
+    flags(final);
 };
 
 ############################################################
@@ -151,11 +151,11 @@ log {
 filter f_postfix { program("^postfix/"); };
 destination d_postfix { file("/var/log/postfix.log"); };
 log {
-       source(s_all);
-       filter(f_postfix);
-       filter(f_strip);
-       destination(d_postfix);
-       flags(final);
+    source(s_all);
+    filter(f_postfix);
+    filter(f_strip);
+    destination(d_postfix);
+    flags(final);
 };
 
 ############################################################
@@ -164,11 +164,11 @@ log {
 filter f_courier { program("courier|imap|pop"); };
 destination d_courier { file("/var/log/courier.log"); };
 log {
-       source(s_all);
-       filter(f_courier);
-       filter(f_strip);
-       destination(d_courier);
-       flags(final);
+    source(s_all);
+    filter(f_courier);
+    filter(f_strip);
+    destination(d_courier);
+    flags(final);
 };
 
 ############################################################
@@ -177,11 +177,11 @@ log {
 filter f_maildrop { program("^maildrop"); };
 destination d_maildrop { file("/var/log/maildrop.log"); };
 log {
-       source(s_all);
-       filter(f_maildrop);
-       filter(f_strip);
-       destination(d_courier);
-       flags(final);
+    source(s_all);
+    filter(f_maildrop);
+    filter(f_strip);
+    destination(d_courier);
+    flags(final);
 };
 
 ############################################################
@@ -201,8 +201,8 @@ log {
 ## messages.log
 
 filter f_messages {
-       level(debug,info,notice)
-       and not facility(auth,authpriv,daemon,mail,user,kern);
+    level(debug,info,notice)
+    and not facility(auth,authpriv,daemon,mail,user,kern);
 };
 destination df_messages { file("/var/log/messages.log"); };
 log {
@@ -216,15 +216,15 @@ log {
 ## errors.log
 
 filter f_errors {
-       level(warn,err,crit,alert,emerg)
-       and not facility(auth,authpriv,daemon,mail,user,kern);
+    level(warn,err,crit,alert,emerg)
+    and not facility(auth,authpriv,daemon,mail,user,kern);
 };
 destination df_errors { file("/var/log/errors.log"); };
 log {
-       source(s_all);
-       filter(f_errors);
-  filter(f_strip);
-       destination(df_errors);
+    source(s_all);
+    filter(f_errors);
+    filter(f_strip);
+    destination(df_errors);
 };
 
 ############################################################
@@ -233,10 +233,10 @@ log {
 filter f_emerg { level(emerg); };
 destination du_all { usertty("*"); };
 log {
-       source(s_all);
-       filter(f_emerg);
-  filter(f_strip);
-       destination(du_all);
+    source(s_all);
+    filter(f_emerg);
+    filter(f_strip);
+    destination(du_all);
 };
 
 ############################################################
index 444b8d9df9173c05c111671a4d9e4a31c2ead71e..b42524b765bf2ec1c6f06d3c3341add706a74585 100644 (file)
@@ -112,11 +112,11 @@ log {
 filter f_sympa { program("^(sympa|bounced|archived|task_manager)"); };
 destination d_sympa { file("/var/log/sympa.log"); };
 log {
-       source(s_all);
-       filter(f_sympa);
-  rewrite(r_strip);
-       destination(d_sympa);
-       flags(final);
+    source(s_all);
+    filter(f_sympa);
+    rewrite(r_strip);
+    destination(d_sympa);
+    flags(final);
 };
 
 ############################################################
@@ -125,11 +125,11 @@ log {
 filter f_wwsympa { program("^wwsympa"); };
 destination d_wwsympa { file("/var/log/wwsympa.log"); };
 log {
-       source(s_all);
-       filter(f_wwsympa);
-       rewrite(r_strip);
-       destination(d_wwsympa);
-       flags(final);
+    source(s_all);
+    filter(f_wwsympa);
+    rewrite(r_strip);
+    destination(d_wwsympa);
+    flags(final);
 };
 
 ############################################################
@@ -138,11 +138,11 @@ log {
 filter f_ldap { program("slapd"); };
 destination d_ldap { file("/var/log/ldap.log"); };
 log {
-       source(s_all);
-       filter(f_ldap);
-  rewrite(r_strip);
-       destination(d_ldap);
-       flags(final);
+    source(s_all);
+    filter(f_ldap);
+    rewrite(r_strip);
+    destination(d_ldap);
+    flags(final);
 };
 
 ############################################################
@@ -153,11 +153,11 @@ log {
 filter f_postfix { program("^postfix/"); };
 destination d_postfix { file("/var/log/postfix.log"); };
 log {
-       source(s_all);
-       filter(f_postfix);
-       rewrite(r_strip);
-       destination(d_postfix);
-       flags(final);
+    source(s_all);
+    filter(f_postfix);
+    rewrite(r_strip);
+    destination(d_postfix);
+    flags(final);
 };
 
 ############################################################
@@ -166,11 +166,11 @@ log {
 filter f_courier { program("courier|imap|pop"); };
 destination d_courier { file("/var/log/courier.log"); };
 log {
-       source(s_all);
-       filter(f_courier);
-       rewrite(r_strip);
-       destination(d_courier);
-       flags(final);
+    source(s_all);
+    filter(f_courier);
+    rewrite(r_strip);
+    destination(d_courier);
+    flags(final);
 };
 
 ############################################################
@@ -179,11 +179,11 @@ log {
 filter f_maildrop { program("^maildrop"); };
 destination d_maildrop { file("/var/log/maildrop.log"); };
 log {
-       source(s_all);
-       filter(f_maildrop);
-       rewrite(r_strip);
-       destination(d_courier);
-       flags(final);
+    source(s_all);
+    filter(f_maildrop);
+    rewrite(r_strip);
+    destination(d_courier);
+    flags(final);
 };
 
 ############################################################
@@ -203,8 +203,8 @@ log {
 ## messages.log
 
 filter f_messages {
-       level(debug,info,notice)
-       and not facility(auth,authpriv,daemon,mail,user,kern);
+  level(debug,info,notice)
+  and not facility(auth,authpriv,daemon,mail,user,kern);
 };
 destination df_messages { file("/var/log/messages.log"); };
 log {
@@ -218,15 +218,15 @@ log {
 ## errors.log
 
 filter f_errors {
-       level(warn,err,crit,alert,emerg)
-       and not facility(auth,authpriv,daemon,mail,user,kern);
+    level(warn,err,crit,alert,emerg)
+    and not facility(auth,authpriv,daemon,mail,user,kern);
 };
 destination df_errors { file("/var/log/errors.log"); };
 log {
-       source(s_all);
-       filter(f_errors);
-  rewrite(r_strip);
-       destination(df_errors);
+    source(s_all);
+    filter(f_errors);
+    rewrite(r_strip);
+    destination(df_errors);
 };
 
 ############################################################
@@ -235,10 +235,10 @@ log {
 filter f_emerg { level(emerg); };
 destination du_all { usertty("*"); };
 log {
-       source(s_all);
-       filter(f_emerg);
-  rewrite(r_strip);
-       destination(du_all);
+    source(s_all);
+    filter(f_emerg);
+    rewrite(r_strip);
+    destination(du_all);
 };
 
 ############################################################