diff options
author | Yasser Nabi <yassersaleemi@gmail.com> | 2014-07-07 13:30:14 +0100 |
---|---|---|
committer | Yasser Nabi <yassersaleemi@gmail.com> | 2014-07-10 17:14:27 +0100 |
commit | 3b49f0c389e04971e1a3623e731e588b7fadb2d1 (patch) | |
tree | 18e370eb4277197efe88b32da314f90ce8102a83 /manifests/init.pp | |
parent | 67c7c501b916ebd1a27a8a218d49602339526c4f (diff) |
Add parameter 'v8plus' for rsyslog version 8+
There has been some significant config changes in versions 8+ of
Rsyslog, one of which is causing deprecated warnings with the Puppet
module. This commit adds are class boolean parameter 'v8plus' to signify
if the version of Rsyslog is version 8 or greater.
Also, the deprecation warning is fixed (correct syntax is used).
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index f0b2cd2..5758b13 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, + $v8plus = $rsyslog::params::v8plus ) inherits rsyslog::params { class { 'rsyslog::install': } class { 'rsyslog::config': } |