commit 68d287037b3c99476ac33bd77213bdb0c0a3752e
parent 9121628ec74a570d9ca2eb78465b471ed84787ba
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 28 Jun 2019 20:08:07 +0200
Config.
Introducing option to instruct ARM
whether to launch the Twister or not.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/config/generate-config b/config/generate-config
@@ -68,6 +68,11 @@ def config(obj):
# Twisting the merchant backend responses.
if obj.twisted:
+
+ ##
+ # Instructs ARM to lunch the Twisters.
+ obj.cfg_put("twister", "taler_deployed", "YES")
+
obj.cfg_put("twister", "serve", "unix")
obj.cfg_put("twister", "chaos_rate", "20")
obj.cfg_put("twister", "destination_base_url", "https://backend.{}.taler.net".format(obj.envname))
@@ -285,6 +290,7 @@ def main(currency, envname, outdir, exchange_pub, twisted):
config_files.append(mc)
if "demo" != envname and twisted:
+
# Twisting the exchange.
twist_exchange_conf = ConfigFile(envname, currency, exchange_pub, "twister-exchange.conf")
twist_exchange_conf.cfg_put("twister", "serve", "unix")