ReleaseEngineering/PuppetAgain/Modules/rsyslog

From MozillaWiki
Jump to: navigation, search

This module installs and configures rsyslogd.

It can be included directly to get a basic, working install.

To add custom configuration, declare rsyslog::config like this

 rsyslog::config {
     "/etc/rsyslog.d/mystuff":
         content => template(..);
 }

choosing a unique name under /etc/rsyslog.d. This will get all of the requirements and notifications right.

You can also add need_mysql => true to this declaration to install rsyslogd's mysql bindings.