taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 0141a934901a8f414ba1498f165591f5eee26f46
parent 10be4bfcb08c881d63af611491f35e9a5378bb77
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Mon, 17 Jul 2017 13:29:38 +0200

starting migration to shared-config in deployment (#5109)

Diffstat:
Mbin/taler-deployment-config-generate | 8++++----
Mbin/taler-deployment-config-sign | 3+--
2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate @@ -25,9 +25,9 @@ if [[ ! -f $HOME/shared-data/exchange/offline-keys/master.priv ]] ; then cp $base/deployment/private-keys/exchange-master.priv $HOME/shared-data/exchange/offline-keys/master.priv fi -if [[ ! -f $HOME/.local/share/taler/auditor/offline-keys/auditor.priv ]] ; then - mkdir -p $HOME/.local/share/taler/auditor/offline-keys/ - cp $base/deployment/private-keys/auditor.priv $HOME/.local/share/taler/auditor/offline-keys/auditor.priv +if [[ ! -f $HOME/shared-data/auditor/offline-keys/auditor.priv ]] ; then + mkdir -p $HOME/shared-data/auditor/offline-keys/ + cp $base/deployment/private-keys/auditor.priv $HOME/shared-data/auditor/offline-keys/auditor.priv fi exchange_pub=$(gnunet-ecc -p $HOME/shared-data/exchange/offline-keys/master.priv) @@ -35,6 +35,6 @@ exchange_pub=$(gnunet-ecc -p $HOME/shared-data/exchange/offline-keys/master.priv $HOME/deployment/config/generate-config \ --exchange-pub "$exchange_pub" \ --currency "$TALER_CONFIG_CURRENCY" \ - --outdir ~/.config \ + --outdir ~/shared-config \ --envname "$TALER_CONFIG_ENV" \ --standalone "${TALER_CONFIG_STANDALONE:-0}" diff --git a/bin/taler-deployment-config-sign b/bin/taler-deployment-config-sign @@ -6,7 +6,6 @@ base=$HOME export PATH="$base/deployment":$PATH -for f in ~/.config/taler/exchange/wire/*.unsigned.json; do +for f in ~/shared-config/taler/exchange/wire/*.unsigned.json; do taler-exchange-wire -j "$(<"$f")" > "${f%.unsigned.json}.json" done -