require => User[$cf_user],
}
- archive { "${cf_home}/${bot_version}.tar.gz":
- path => "${cf_home}/${bot_version}.tar.gz",
+ archive { "${cf_home}/trader_${bot_version}.tar.gz":
+ path => "${cf_home}/trader_${bot_version}.tar.gz",
source => "https://git.immae.eu/releases/cryptoportfolio/trader/trader_${bot_version}.tar.gz",
checksum_type => "sha256",
checksum => $bot_sha256,
content => template("role/cryptoportfolio/bot_config.ini.erb"),
require => [
User[$cf_user],
- Archive["${cf_home}/${bot_version}.tar.gz"],
+ Archive["${cf_home}/trader_${bot_version}.tar.gz"],
],
}
environment => ["HOME=${cf_home}","PATH=/usr/bin/"],
require => [
File[$cf_bot_app_conf],
- Archive["${cf_home}/${bot_version}.tar.gz"]
+ Archive["${cf_home}/trader_${bot_version}.tar.gz"]
],
}
environment => ["HOME=${cf_home}","PATH=/usr/bin/"],
require => [
File[$cf_bot_app_conf],
- Archive["${cf_home}/${bot_version}.tar.gz"]
+ Archive["${cf_home}/trader_${bot_version}.tar.gz"]
],
}
}
command => "/usr/bin/pg_dump --schema-only --clean --no-publications $cf_pg_db > /var/lib/postgres/${cf_pg_db}.schema",
}
- archive { "${cf_home}/${front_version}.tar.gz":
- path => "${cf_home}/${front_version}.tar.gz",
+ archive { "${cf_home}/front_${front_version}.tar.gz":
+ path => "${cf_home}/front_${front_version}.tar.gz",
source => "https://git.immae.eu/releases/cryptoportfolio/front/front_${front_version}.tar.gz",
checksum_type => "sha256",
checksum => $front_sha256,