summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-18 10:44:08 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-18 10:44:08 -0200
commit94f8eb8cbb7b2dafe49208d7ed845de41712c6a4 (patch)
tree9250b6d2434453c924a11e2488b38617142a0416
parent397646f8487f8739f5d4de9bc0b3c60def2546d0 (diff)
downloadpuppet-syslog-ng-94f8eb8cbb7b2dafe49208d7ed845de41712c6a4.tar.gz
puppet-syslog-ng-94f8eb8cbb7b2dafe49208d7ed845de41712c6a4.tar.bz2
Fixing template formatting
-rw-r--r--templates/syslog-ng.conf_lenny.erb84
-rw-r--r--templates/syslog-ng.conf_lucid.erb84
-rw-r--r--templates/syslog-ng.conf_squeeze.erb84
3 files changed, 126 insertions, 126 deletions
diff --git a/templates/syslog-ng.conf_lenny.erb b/templates/syslog-ng.conf_lenny.erb
index 9393e68..33e7e36 100644
--- a/templates/syslog-ng.conf_lenny.erb
+++ b/templates/syslog-ng.conf_lenny.erb
@@ -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);
};
############################################################
diff --git a/templates/syslog-ng.conf_lucid.erb b/templates/syslog-ng.conf_lucid.erb
index 9393e68..33e7e36 100644
--- a/templates/syslog-ng.conf_lucid.erb
+++ b/templates/syslog-ng.conf_lucid.erb
@@ -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);
};
############################################################
diff --git a/templates/syslog-ng.conf_squeeze.erb b/templates/syslog-ng.conf_squeeze.erb
index 444b8d9..b42524b 100644
--- a/templates/syslog-ng.conf_squeeze.erb
+++ b/templates/syslog-ng.conf_squeeze.erb
@@ -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);
};
############################################################