summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAaron Hicks <hicksa@landcareresearch.co.nz>2014-02-05 11:35:08 +1300
committerAaron Hicks <hicksa@landcareresearch.co.nz>2014-02-07 10:41:01 +1300
commit8804f3f95db7f1e69f44db9a9424a3e5d0d16b62 (patch)
tree06f95065c2dd52c96c783ae0e6bc2ff062875c7e /manifests
parent3707f44c19da275e14e99df0851ced9dce3f69d7 (diff)
configuring mulitple remote servers from the remote_servers parameter using a hash.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp10
1 files changed, 6 insertions, 4 deletions
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 ? {