From 8804f3f95db7f1e69f44db9a9424a3e5d0d16b62 Mon Sep 17 00:00:00 2001 From: Aaron Hicks Date: Wed, 5 Feb 2014 11:35:08 +1300 Subject: configuring mulitple remote servers from the remote_servers parameter using a hash. --- manifests/client.pp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'manifests') diff --git a/manifests/client.pp b/manifests/client.pp index 4bf5403..dfc28e0 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -5,15 +5,16 @@ # === Parameters # # [*sample_parameter*] -# [*log_remote*] # [*spool_size*] -# [*remote_type*] # [*log_local*] # [*log_auth_local*] # [*custom_config*] # [*custom_params*] +# [*log_remote*] # [*server*] +# [*remote_type*] # [*port*] +# [*remote_servers*] # [*ssl_ca*] # [*actionfiletemplate*] # @@ -33,9 +34,10 @@ class rsyslog::client ( $custom_params = undef, $server = 'log', $port = '514', + $remote_servers = false, $ssl_ca = undef, - $actionfiletemplate = undef, - $preserve_fqdn = undef + $actionfiletemplate = false, + $preserve_fqdn = false ) inherits rsyslog { $content_real = $custom_config ? { -- cgit v1.2.3