ReleaseEngineering/PuppetAgain/Modules/rsyslog: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "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 rsy...")
 
 
(No difference)

Latest revision as of 18:32, 16 October 2012

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.