aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-10-14 20:40:52 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-10-14 20:40:52 +0200
commit17c3bcf4ae012d8cee294a6291c76ea187d5870b (patch)
tree92d55e0eb1381349faeabd12668a9db184dc90d5
parentaeffdda7b8b795cc60053ff34e62dc40c34686ab (diff)
parentb08f274f67b8ade7ddb8f092a7ccf3604cd5f4cd (diff)
downloadPuppet-17c3bcf4ae012d8cee294a6291c76ea187d5870b.tar.gz
Puppet-17c3bcf4ae012d8cee294a6291c76ea187d5870b.tar.zst
Puppet-17c3bcf4ae012d8cee294a6291c76ea187d5870b.zip
Merge branch 'dev'
-rw-r--r--modules/role/manifests/cryptoportfolio/bot.pp11
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/role/manifests/cryptoportfolio/bot.pp b/modules/role/manifests/cryptoportfolio/bot.pp
index 0021bc6..e4e3e6e 100644
--- a/modules/role/manifests/cryptoportfolio/bot.pp
+++ b/modules/role/manifests/cryptoportfolio/bot.pp
@@ -61,16 +61,7 @@ class role::cryptoportfolio::bot inherits role::cryptoportfolio {
61 File[$cf_bot_app_conf], 61 File[$cf_bot_app_conf],
62 Archive["${home}/trader_${trader_version}.tar.gz"] 62 Archive["${home}/trader_${trader_version}.tar.gz"]
63 ], 63 ],
64 jobs => [ 64 jobs => [],
65 {
66 command => "cd $cf_bot_app ; python main.py --quiet --config $cf_bot_app_conf --before",
67 user => $user,
68 weekday => 7, # Sunday
69 hour => 22,
70 minute => 30,
71 description => "Run before the cryptoportfolio update",
72 }
73 ],
74 } 65 }
75 66
76 if ($environment == "production") { 67 if ($environment == "production") {