summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSteffen Zieger <me@saz.sh>2014-04-29 00:59:49 +0200
committerSteffen Zieger <me@saz.sh>2014-04-29 00:59:49 +0200
commit8b38b4872d7f5e2cca5c119006a54884c060947a (patch)
tree7f45bd04c9d25dfe08aae5eb24d32523f246275d /manifests
parent3127e207653b55ff0547bbf358b16760250776c0 (diff)
parent5fd2b5f6e91964989fa8828cb309f35aed5056c7 (diff)
Merge pull request #76 from mstrzele/master
preserve_fqdn moved to rsyslog class
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp3
-rw-r--r--manifests/init.pp3
-rw-r--r--manifests/params.pp1
3 files changed, 4 insertions, 3 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index b5fa04b..c563c71 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -38,8 +38,7 @@ class rsyslog::client (
$remote_servers = false,
$ssl_ca = undef,
$log_templates = false,
- $actionfiletemplate = false,
- $preserve_fqdn = false
+ $actionfiletemplate = false
) inherits rsyslog {
$content_real = $custom_config ? {
diff --git a/manifests/init.pp b/manifests/init.pp
index fbe22f6..ec988f5 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -34,7 +34,8 @@ class rsyslog (
$client_conf = $rsyslog::params::client_conf,
$server_conf = $rsyslog::params::server_conf,
$ssl = $rsyslog::params::ssl,
- $modules = $rsyslog::params::modules
+ $modules = $rsyslog::params::modules,
+ $preserve_fqdn = $rsyslog::params::preserve_fqdn
) inherits rsyslog::params {
class { 'rsyslog::install': }
class { 'rsyslog::config': }
diff --git a/manifests/params.pp b/manifests/params.pp
index b00908a..1b19773 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -42,6 +42,7 @@ class rsyslog::params {
'$ModLoad imklog # provides kernel logging support (previously done by rklogd)',
'#$ModLoad immark # provides --MARK-- message capability',
]
+ $preserve_fqdn = false
}
redhat: {
if $::operatingsystem == 'Amazon' {