summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-28 20:08:07 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-28 20:08:07 +0200
commit68d287037b3c99476ac33bd77213bdb0c0a3752e (patch)
treed6155a2b2fccfd8f97815b0ca4dc8bbc33520b51 /config
parent9121628ec74a570d9ca2eb78465b471ed84787ba (diff)
downloaddeployment-68d287037b3c99476ac33bd77213bdb0c0a3752e.tar.gz
deployment-68d287037b3c99476ac33bd77213bdb0c0a3752e.tar.bz2
deployment-68d287037b3c99476ac33bd77213bdb0c0a3752e.zip
Config.
Introducing option to instruct ARM whether to launch the Twister or not.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/generate-config6
1 files changed, 6 insertions, 0 deletions
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")