summaryrefslogtreecommitdiff
path: root/puppet/modules/site_rsyslog
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-08-19 08:21:06 -0400
committerMicah <micah@leap.se>2016-08-20 09:41:36 -0400
commitc6aea725ed673a50ad0c9291c2f90ade44f20d8c (patch)
tree8c0b1e5364c533b3fb99945cfa74fa1d18e7a0d6 /puppet/modules/site_rsyslog
parent31dfdfc32439980e92e6472a8392850e2c9b6bd0 (diff)
Fix rsyslog auth.log entries (#8381).
The auth.log rsyslog entry was accidentally removed in #7863. Change-Id: I4ebffeafedbca5df902041ddd2bcb80d3f68b230
Diffstat (limited to 'puppet/modules/site_rsyslog')
-rw-r--r--puppet/modules/site_rsyslog/templates/client.conf.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_rsyslog/templates/client.conf.erb b/puppet/modules/site_rsyslog/templates/client.conf.erb
index 553b8373..12d6ea9b 100644
--- a/puppet/modules/site_rsyslog/templates/client.conf.erb
+++ b/puppet/modules/site_rsyslog/templates/client.conf.erb
@@ -83,7 +83,7 @@ $ActionSendStreamDriverAuthMode anon
<% if scope.lookupvar('rsyslog::log_style') == 'debian' -%>
# Log auth messages locally
-.*;auth,authpriv.none;mail.none -/var/log/syslog
+auth,authpriv.* /var/log/auth.log
<% elsif scope.lookupvar('rsyslog::log_style') == 'redhat' -%>
# Log auth messages locally
auth,authpriv.* /var/log/secure
@@ -93,6 +93,7 @@ auth,authpriv.* /var/log/secure
<% if scope.lookupvar('rsyslog::log_style') == 'debian' -%>
# First some standard log files. Log by facility.
#
+*.*;auth,authpriv.none;mail.none -/var/log/syslog
cron.* /var/log/cron.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log