tohuwabohu / puppet-duplicity

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

Duplicity::File has trouble with missing exec_path #24

Closed tohuwabohu closed 8 years ago

tohuwabohu commented 8 years ago
Warning: Scope(Duplicity::File[/var/lib/jenkins]): Could not look up qualified variable 'duplicity::exec_path'; class duplicity has not been evaluated
Notice: Compiled catalog for vault-77.home.gateway in environment production in 2.02 seconds
Error: Validation of Exec[restore /var/lib/jenkins] failed: 'duply system fetch "var/lib/jenkins" "/var/lib/jenkins"' is not qualified and no path was specified. Please qualify the command or specify a path. at /opt/puppenkiste/environments/production/modules/duplicity/manifests/file.pp:89

Looks like this is an issue with resource ordering: the duplicity::file requires duplicity::params but later it uses duplicity::exec_path which may not be resolved by the time.