aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-04 20:56:38 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-04 21:19:38 +0100
commit3f868d0b4f48e75aeed56a13f3c4053bac9108f0 (patch)
treeb83981ff8a1dcacd37b691567171caa6b3c7c994 /modules
parent383fa18a98e98e5e85f35bef17938957c52ee216 (diff)
downloadPuppet-3f868d0b4f48e75aeed56a13f3c4053bac9108f0.tar.gz
Puppet-3f868d0b4f48e75aeed56a13f3c4053bac9108f0.tar.zst
Puppet-3f868d0b4f48e75aeed56a13f3c4053bac9108f0.zip
Rename archive files
Diffstat (limited to 'modules')
-rw-r--r--modules/role/manifests/cryptoportfolio.pp14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/role/manifests/cryptoportfolio.pp b/modules/role/manifests/cryptoportfolio.pp
index c940f33..5fb0438 100644
--- a/modules/role/manifests/cryptoportfolio.pp
+++ b/modules/role/manifests/cryptoportfolio.pp
@@ -196,8 +196,8 @@ class role::cryptoportfolio {
196 require => User[$cf_user], 196 require => User[$cf_user],
197 } 197 }
198 198
199 archive { "${cf_home}/${bot_version}.tar.gz": 199 archive { "${cf_home}/trader_${bot_version}.tar.gz":
200 path => "${cf_home}/${bot_version}.tar.gz", 200 path => "${cf_home}/trader_${bot_version}.tar.gz",
201 source => "https://git.immae.eu/releases/cryptoportfolio/trader/trader_${bot_version}.tar.gz", 201 source => "https://git.immae.eu/releases/cryptoportfolio/trader/trader_${bot_version}.tar.gz",
202 checksum_type => "sha256", 202 checksum_type => "sha256",
203 checksum => $bot_sha256, 203 checksum => $bot_sha256,
@@ -230,7 +230,7 @@ class role::cryptoportfolio {
230 content => template("role/cryptoportfolio/bot_config.ini.erb"), 230 content => template("role/cryptoportfolio/bot_config.ini.erb"),
231 require => [ 231 require => [
232 User[$cf_user], 232 User[$cf_user],
233 Archive["${cf_home}/${bot_version}.tar.gz"], 233 Archive["${cf_home}/trader_${bot_version}.tar.gz"],
234 ], 234 ],
235 } 235 }
236 236
@@ -244,7 +244,7 @@ class role::cryptoportfolio {
244 environment => ["HOME=${cf_home}","PATH=/usr/bin/"], 244 environment => ["HOME=${cf_home}","PATH=/usr/bin/"],
245 require => [ 245 require => [
246 File[$cf_bot_app_conf], 246 File[$cf_bot_app_conf],
247 Archive["${cf_home}/${bot_version}.tar.gz"] 247 Archive["${cf_home}/trader_${bot_version}.tar.gz"]
248 ], 248 ],
249 } 249 }
250 250
@@ -258,7 +258,7 @@ class role::cryptoportfolio {
258 environment => ["HOME=${cf_home}","PATH=/usr/bin/"], 258 environment => ["HOME=${cf_home}","PATH=/usr/bin/"],
259 require => [ 259 require => [
260 File[$cf_bot_app_conf], 260 File[$cf_bot_app_conf],
261 Archive["${cf_home}/${bot_version}.tar.gz"] 261 Archive["${cf_home}/trader_${bot_version}.tar.gz"]
262 ], 262 ],
263 } 263 }
264 } 264 }
@@ -313,8 +313,8 @@ class role::cryptoportfolio {
313 command => "/usr/bin/pg_dump --schema-only --clean --no-publications $cf_pg_db > /var/lib/postgres/${cf_pg_db}.schema", 313 command => "/usr/bin/pg_dump --schema-only --clean --no-publications $cf_pg_db > /var/lib/postgres/${cf_pg_db}.schema",
314 } 314 }
315 315
316 archive { "${cf_home}/${front_version}.tar.gz": 316 archive { "${cf_home}/front_${front_version}.tar.gz":
317 path => "${cf_home}/${front_version}.tar.gz", 317 path => "${cf_home}/front_${front_version}.tar.gz",
318 source => "https://git.immae.eu/releases/cryptoportfolio/front/front_${front_version}.tar.gz", 318 source => "https://git.immae.eu/releases/cryptoportfolio/front/front_${front_version}.tar.gz",
319 checksum_type => "sha256", 319 checksum_type => "sha256",
320 checksum => $front_sha256, 320 checksum => $front_sha256,