opscode-cookbooks/rsyslog — pull request #21 by FooBarWidget (2013-05-13 11:27:56+00:00)
Title: Ubuntu 12.04 support, TLS support, permission fixes, various other small fixes, support for non-standard services

This pull request introduces the following changes:

* Ubuntu 12.04 support, in the form of a platform-specific template, attribute defaults tailored for Ubuntu and documentation updates. Especially the platform-specific template is important because without it rsyslog would fail to open some files (due to permission problems), preventing logrotate from properly reloading rsyslog with SIGHUP.
* TLS support, including full support for authenticating the server and client. This support is TCP only and has not been tested with UDP.
* Allow this cookbook to be used in combination with non-standard services. For example although we deploy on Ubuntu, we use daemontools instead of Upstart to manage rsyslogd and not Upstart. This is because rsyslogd's config files (and the daemontool run file) live in an encrypted partition, so we only want rsyslogd to start after that partition has been mounted. Not so easy to do with Upstart.
* Set some useful parameters for the on-disk spool (which is used in case the log server is down).
* Set $LocalHostName to the node's FQDN if preserve_fqdn is on. This is because if we do not, then rsyslog sometimes uses the short domain name and sometimes the FQDN.
* Allow customizing FileOwner, FileGroup, DirOwner, DirGroup, FileCreateMode, DirCreateMode and Umask.
* Enable compression when forwarding logs and when storing logs from remote hosts.

I've already signed the contributor agreement in the past.