aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-24 15:49:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-24 15:49:07 -0300
commitdc5659aed4dceccad963890cbc0dad10827013a4 (patch)
tree8edc1c8ff01cce8835580e52fa6833cd004ece6c /manifests
parent650ab49c0f16a6d52d8c105c243f127e5e61fd0b (diff)
downloadpuppet-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.pp4
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,
}