diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-24 15:49:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-24 15:49:07 -0300 |
commit | dc5659aed4dceccad963890cbc0dad10827013a4 (patch) | |
tree | 8edc1c8ff01cce8835580e52fa6833cd004ece6c /manifests | |
parent | 650ab49c0f16a6d52d8c105c243f127e5e61fd0b (diff) | |
download | puppet-nodo-dc5659aed4dceccad963890cbc0dad10827013a4.tar.gz puppet-nodo-dc5659aed4dceccad963890cbc0dad10827013a4.tar.bz2 |
Password may not be specified if backup is absent
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/subsystem/backup.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/subsystem/backup.pp b/manifests/subsystem/backup.pp index b85dc0f..3ffc4f2 100644 --- a/manifests/subsystem/backup.pp +++ b/manifests/subsystem/backup.pp @@ -10,13 +10,13 @@ class nodo::subsystem::backup { case $local_backup { true,enabled,present: { backup::duplicity { "localhost": - encryptkey => hiera('nodo::subsystem::backup::encryptkey'), + encryptkey => hiera('nodo::subsystem::backup::encryptkey', false), password => hiera('nodo::subsystem::backup::password'), } } false,absent: { backup::duplicity { "localhost": - encryptkey => hiera('nodo::subsystem::backup::encryptkey'), + encryptkey => hiera('nodo::subsystem::backup::encryptkey', false), password => hiera('nodo::subsystem::backup::password'), ensure => absent, } |