From a5161237e568c4128d97ad695d9d387d49edc184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20O=CC=88rnstedt?= Date: Tue, 21 Jan 2014 14:42:37 +0100 Subject: Made modules in rsyslog.conf configurable via parameter $modules. --- manifests/params.pp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'manifests/params.pp') diff --git a/manifests/params.pp b/manifests/params.pp index 8f9b639..d484492 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -36,6 +36,11 @@ class rsyslog::params { $client_conf = "${rsyslog_d}client.conf" $server_conf = "${rsyslog_d}server.conf" $ssl = false + $modules = [ + '$ModLoad imuxsock # provides support for local system logging', + '$ModLoad imklog # provides kernel logging support (previously done by rklogd)', + '#$ModLoad immark # provides --MARK-- message capability', + ] } redhat: { $rsyslog_package_name = 'rsyslog' @@ -63,6 +68,11 @@ class rsyslog::params { $client_conf = "${rsyslog_d}client.conf" $server_conf = "${rsyslog_d}server.conf" $ssl = false + $modules = [ + '$ModLoad imuxsock # provides support for local system logging', + '$ModLoad imklog # provides kernel logging support (previously done by rklogd)', + '#$ModLoad immark # provides --MARK-- message capability', + ] } freebsd: { $rsyslog_package_name = 'sysutils/rsyslog5' @@ -86,6 +96,11 @@ class rsyslog::params { $client_conf = "${rsyslog_d}client.conf" $server_conf = "${rsyslog_d}server.conf" $ssl = false + $modules = [ + '$ModLoad imuxsock # provides support for local system logging', + '$ModLoad imklog # provides kernel logging support (previously done by rklogd)', + '#$ModLoad immark # provides --MARK-- message capability', + ] } default: { case $::operatingsystem { -- cgit v1.2.3