taler-deployment

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

commit 963ab2ed318b6c17e59da18177ae6339c90cd197
parent e362b367882145545af6e234183bea187064bec8
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed, 17 May 2017 14:42:32 +0200

deploying auditor-related data

Diffstat:
Mbin/taler-deployment-keyup | 10++++++++--
Mconfig/generate-config | 1+
Mtripwire_sysadmin.txt | 2+-
3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup @@ -2,6 +2,7 @@ set -eu +auditor_request = ${HOME}/shared-data/exchange/auditor-request/auditor_request if [[ ${TALER_CONFIG_STANDALONE:-0} = 1 ]]; then # no auditor on env deployments for now taler-exchange-keyup \ @@ -9,7 +10,12 @@ if [[ ${TALER_CONFIG_STANDALONE:-0} = 1 ]]; then else taler-exchange-keyup \ -m ~/shared-data/exchange/offline-keys/master.priv \ - -o ~/shared-data/exchange/auditor-request/auditor_request + -o $auditor_request fi -chmod -fR g+rw ~/shared-data +auditor_base_dir = $(taler-config -s exchangedb -o auditor_base_dir) +taler-auditor-sign -u https://auditor.taler.net/ -m $(taler-config -s exchange -o master_public_key) -r $auditor_request -o "$auditor_base_dir/auditor_sig" +if [[ 0 != $? ]]; then + echo Auditor signing not accomplished. + +chmod -fR g+rw ~/shared-data diff --git a/config/generate-config b/config/generate-config @@ -104,6 +104,7 @@ def config(currency, envname, exchange_pub, standalone): cfg_put("exchange-admin", "SERVE", "unix") cfg_put("exchange-admin", "unixpath", "$HOME/sockets/exchange-admin.http") + cfg_put("exchangedb", "AUDITOR_BASE_DIR", "${TALER_DEPLOYMENT_SHARED}/exchange/auditors") if standalone: cfg_put("exchangedb-postgres", "db_conn_str", "postgres:///taler?host={}/sockets".format(os.getenv("HOME"))) diff --git a/tripwire_sysadmin.txt b/tripwire_sysadmin.txt @@ -3,7 +3,7 @@ tripwire. == BUILDBOT == -(Note, 'worker' and 'slave' are the same thing) +(Note, 'worker' and 'slave' are used interchangeably) The user running the buildbot master is 'containers'.