diff options
author | Florian Dold <florian@dold.me> | 2021-08-29 23:12:18 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-29 23:12:18 +0200 |
commit | 7b7480dd90f4e066a02ee42e7bbb33fe23514366 (patch) | |
tree | faae584dc0af7b3b09ebb61872fb83d6b39a827a | |
parent | 1572675570ceb47024e7f349b8bdda69c2d1b093 (diff) | |
download | deployment-7b7480dd90f4e066a02ee42e7bbb33fe23514366.tar.gz deployment-7b7480dd90f4e066a02ee42e7bbb33fe23514366.tar.bz2 deployment-7b7480dd90f4e066a02ee42e7bbb33fe23514366.zip |
write to correct config file
-rwxr-xr-x | bin/taler-deployment-config-generate | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate index 1ee404a..63c0bd9 100755 --- a/bin/taler-deployment-config-generate +++ b/bin/taler-deployment-config-generate @@ -260,15 +260,15 @@ def main(currency, envname, outdir, exchange_pub, frontends_apitoken): ac = ConfigFile(envname, currency, exchange_pub, "anastasis.conf") ac.cfg_put("taler", "currency", currency) - sc.cfg_put("anastasis", "serve", "unix") - sc.cfg_put("anastasis", "unixpath", "$HOME/sockets/anastasis.http") - sc.cfg_put("anastasis", "annual_fee", f"{currency}:0") - sc.cfg_put("anastasis", "question_cost", f"{currency}:0") - sc.cfg_put("anastasis", "fulfillment_url", "taler://fulfillment-success/") - sc.cfg_put("anastasis", "server_salt", "kreb3ia9dmj43gfa") - sc.cfg_put("statis-postgres", "config", f"postgres:///taler{envname}") - sc.cfg_put("anastasis-merchant-backend", "payment_backend_url", urls["merchant_backend"] + "instances/anastasis/") - sc.cfg_put("anastasis-merchant-backend", "api_key", f"Bearer {frontends_apitoken}") + ac.cfg_put("anastasis", "serve", "unix") + ac.cfg_put("anastasis", "unixpath", "$HOME/sockets/anastasis.http") + ac.cfg_put("anastasis", "annual_fee", f"{currency}:0") + ac.cfg_put("anastasis", "question_cost", f"{currency}:0") + ac.cfg_put("anastasis", "fulfillment_url", "taler://fulfillment-success/") + ac.cfg_put("anastasis", "server_salt", "kreb3ia9dmj43gfa") + ac.cfg_put("statis-postgres", "config", f"postgres:///taler{envname}") + ac.cfg_put("anastasis-merchant-backend", "payment_backend_url", urls["merchant_backend"] + "instances/anastasis/") + ac.cfg_put("anastasis-merchant-backend", "api_key", f"Bearer {frontends_apitoken}") config_files.append(ac) assert 0 < len(config_files) |