summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSteffen Zieger <me@saz.sh>2014-08-14 17:06:12 +0200
committerSteffen Zieger <me@saz.sh>2014-08-14 17:06:12 +0200
commit5c4b129eda064d5cfec7edcb320ef769bc302345 (patch)
tree3cfbd635a20db266330c6c3fc40483d647fbf5c5 /manifests
parent8163c11e98286ba6ed5726f788a7681b8607d18a (diff)
add max_message_size parameter
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp3
-rw-r--r--manifests/params.pp2
2 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index f0b2cd2..0c57a84 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -37,7 +37,8 @@ class rsyslog (
$server_conf = $rsyslog::params::server_conf,
$ssl = $rsyslog::params::ssl,
$modules = $rsyslog::params::modules,
- $preserve_fqdn = $rsyslog::params::preserve_fqdn
+ $preserve_fqdn = $rsyslog::params::preserve_fqdn,
+ $max_message_size = $rsyslog::params::max_message_size
) inherits rsyslog::params {
class { 'rsyslog::install': }
class { 'rsyslog::config': }
diff --git a/manifests/params.pp b/manifests/params.pp
index d301458..904148c 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -12,6 +12,8 @@
#
class rsyslog::params {
+ $max_message_size = '2k'
+
case $::osfamily {
debian: {
$rsyslog_package_name = 'rsyslog'