tohuwabohu / puppet-duplicity

Puppet module to manage backups based on duplicity.
Apache License 2.0
8 stars 33 forks source link

Backup target type file:// not working due to the existence of TARGET_USER and TARGET_PASS #26

Closed pdirksen closed 7 years ago

pdirksen commented 8 years ago

Solution:

templates/conf.erb:

Set TARGET_USERand TARGET_PASS only if the corresponding puppet vars are not undef

In manifests/params.pp:

$backup_target_username = undef
$backup_target_password = undef
tohuwabohu commented 7 years ago

I think this is related to #35 as well.