- Jul 10, 2013
-
-
Russ Allbery authored
The deprecated classes base::newsyslog::messages::sa and base::newsyslog::messages::sa::override have been deleted. Global overrides for the default base::newsyslog behavior should be put into the local defaults module instead.
-
- Jul 09, 2013
-
-
Russ Allbery authored
The ::override subclass was also using the class variable.
-
Russ Allbery authored
A refactoring of base::newsyslog removed a variable that it was assuming was set.
-
- Jul 02, 2013
-
-
Russ Allbery authored
Fix support for analyze_logs, which wasn't working due to the immutable variable problems with how Puppet uses ERB. Restructure the template to not precalculate the results, group lines for a particular log together, and format everything a bit better.
-
Russ Allbery authored
newsyslog no longer sets up a weekly command to tar up /root/.history-save and removes /etc/newsyslog.weekly/audit if it exists. We're no longer using per-user history files and we're letting bash handle managing the length of the history file. newsyslog now creates btmp and wtmp writable by group utmp, matching the operating system defaults. newsyslog no longer attempts to clean up sysklogd cron jobs or remove the old /etc/newsyslog.daily/syslog file installed by ancient versions of stanford-server. General coding style cleanup.
-
Russ Allbery authored
newsyslog::config now supports a new analyze_logs parameter, which specifies the list of logs to run through the analyze action (when different than the list in logs). analyze_logs defaults to logs if not given. Also update the coding style, simplify the define drastically, and clean up indentation and comments.
-
- Apr 30, 2013
-
-
Adam Lewenberg authored
This is the (old) master branch along with the fixes to the cron file permissions that Russ made.
-