From e1a96d9f3fd04fb8c82c2f53e7cd53322c134104 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 19 Mar 2016 11:42:34 -0300 Subject: Adds use_storedconfigs param at backupninja::server --- manifests/server.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/server.pp b/manifests/server.pp index 49e42a0..6f7a30e 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -12,6 +12,7 @@ class backupninja::server ( $nagios_server = undef, $nagios_warn_level = 129600, $nagios_crit_level = 216000, + $use_storedconfigs = true, ) { group { "backupninjas": @@ -50,7 +51,9 @@ class backupninja::server ( } # collect all resources from hosted backups - Backupninja_server_realize <<| tag == $::fqdn |>> + if $use_storedconfigs { + Backupninja_server_realize <<| tag == $::fqdn |>> + } # this define allows nodes to declare a remote backup sandbox, that have to # get created on the server -- cgit v1.2.3