From 68d287037b3c99476ac33bd77213bdb0c0a3752e Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 28 Jun 2019 20:08:07 +0200 Subject: Config. Introducing option to instruct ARM whether to launch the Twister or not. --- config/generate-config | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') diff --git a/config/generate-config b/config/generate-config index 4970d21..ffd6a37 100755 --- 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") -- cgit v1.2.3