diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-28 20:08:07 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-28 20:08:07 +0200 |
commit | 68d287037b3c99476ac33bd77213bdb0c0a3752e (patch) | |
tree | d6155a2b2fccfd8f97815b0ca4dc8bbc33520b51 /config | |
parent | 9121628ec74a570d9ca2eb78465b471ed84787ba (diff) | |
download | deployment-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-x | config/generate-config | 6 |
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") |