Closed vorlon closed 8 years ago
@vorlon ?
@vorlon ?
@tohuwabohu sorry for the silence You are right, some changes are needed here, I will get back to you about it
What about something like
if ($duply_package_provider == 'archive') and ($duply_archive_version != $duplicity::params::duply_version) {
$duply_version = $duply_archive_version
}
else {
$duply_version = $duplicity::params::duply_version
}
in init.pp and using $duplicity::duply_version in profile.pp?
Looks good to me.
Any news here? I don't want to install it from source :(
Just added the duply_version parameter as @tohuwabohu suggested, I also included some tests for the cron job when using different duply versions. To make testing possible in an easy way I also added a duply_version and duply_executable parameter to profile.pp.
@vorlon, can you please have a look at the merge conflict? thanks
@tohuwabohu conflicts have been resolved and this works for me on Debian jessie. Please double check.
I've released version 3.6.0 to the forge. Thanks for the contribution.
This adds a duply_version variable which is filled with defaults for Ubuntu and Debian. It is then used to decide on the command in the cron job. This is hopefully not too simple. Has been tested on Debian wheezy and jessie. Should resolve #4