summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp1
-rw-r--r--manifests/params.pp15
2 files changed, 16 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 7064c65..4b026b5 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -33,6 +33,7 @@ class rsyslog (
$client_conf = $rsyslog::params::client_conf,
$server_conf = $rsyslog::params::server_conf,
$ssl = $rsyslog::params::ssl,
+ $modules = $rsyslog::params::modules,
) inherits rsyslog::params {
class { 'rsyslog::install': }
class { 'rsyslog::config': }
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 {