Merge branch 'master' of ssh://handel.debian.org/srv/puppet.debian.org/git/dsa-puppet
authorStephen Gran <steve@lobefin.net>
Thu, 21 May 2009 22:02:54 +0000 (23:02 +0100)
committerStephen Gran <steve@lobefin.net>
Thu, 21 May 2009 22:02:54 +0000 (23:02 +0100)
files/etc/logrotate.d/syslog-ng
files/etc/syslog-ng/syslog-ng.conf
manifests/site.pp

index 999785a..37fcbac 100644 (file)
@@ -71,6 +71,8 @@
    missingok
    notifempty
    compress
+   # listmaster asked for this one
+   delaycompress
 }
 
 /var/log/mail.warn {
index f67cc9a..d4afc62 100644 (file)
@@ -105,6 +105,9 @@ destination df_daemon { file("/var/log/daemon.log"); };
 destination df_kern { file("/var/log/kern.log"); };
 destination df_lpr { file("/var/log/lpr.log"); };
 destination df_mail { file("/var/log/mail.log" group(maillog)); };
+destination df_mail_info { file("/var/log/mail.info" group(maillog)); };
+destination df_mail_warn { file("/var/log/mail.warn" group(maillog)); };
+destination df_mail_err { file("/var/log/mail.err" group(maillog)); };
 destination df_user { file("/var/log/user.log" perm(0644)); };
 destination df_uucp { file("/var/log/uucp.log"); };
 
@@ -264,7 +267,7 @@ log {
         source(s_all);
         filter(f_mail);
         filter(f_at_least_info);
-        destination(df_facility_dot_info);
+        destination(df_mail_info);
 };
 
 # mail.warn                       -/var/log/mail.warn
@@ -272,7 +275,7 @@ log {
         source(s_all);
         filter(f_mail);
         filter(f_at_least_warn);
-        destination(df_facility_dot_warn);
+        destination(df_mail_warn);
 };
 
 # mail.err                        /var/log/mail.err
@@ -280,7 +283,7 @@ log {
         source(s_all);
         filter(f_mail);
         filter(f_at_least_err);
-        destination(df_facility_dot_err);
+        destination(df_mail_err);
 };
 
 # news.crit                       /var/log/news/news.crit
index cdecc63..809d74c 100644 (file)
@@ -47,7 +47,7 @@ node default {
 
     case $apache2 {
         "true":    { case $hostname {
-                        carver,rore,draghi,tartini,samosa,duarte:  { include apache2 }
+                        carver,rore,draghi,tartini,samosa,duarte,piatti:  { include apache2 }
                         default:   {}
                    } }
         default: {}