aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-10-14 20:40:29 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-10-14 20:40:29 +0200
commitb08f274f67b8ade7ddb8f092a7ccf3604cd5f4cd (patch)
tree92d55e0eb1381349faeabd12668a9db184dc90d5
parent871df075f3b3c405ef104266bbfb937cd6734b7d (diff)
downloadPuppet-b08f274f67b8ade7ddb8f092a7ccf3604cd5f4cd.tar.gz
Puppet-b08f274f67b8ade7ddb8f092a7ccf3604cd5f4cd.tar.zst
Puppet-b08f274f67b8ade7ddb8f092a7ccf3604cd5f4cd.zip
Remove cryptoportfolio bot job
-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") {