diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-03-19 11:42:34 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-03-19 11:42:34 -0300 |
commit | e1a96d9f3fd04fb8c82c2f53e7cd53322c134104 (patch) | |
tree | a11d4464b014a679f87fd6ed6b7e928942d6e2f3 /manifests | |
parent | 44dbd2a5018b98f0a52d22bf6bfbd711cf808daa (diff) | |
download | puppet-backupninja-e1a96d9f3fd04fb8c82c2f53e7cd53322c134104.tar.gz puppet-backupninja-e1a96d9f3fd04fb8c82c2f53e7cd53322c134104.tar.bz2 |
Adds use_storedconfigs param at backupninja::server
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/server.pp | 5 |
1 files changed, 4 insertions, 1 deletions
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 |