From e0be874a28c9ee9c9b07e3cff89301cd58cfd31f Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Wed, 26 Jul 2017 00:40:13 +0200 Subject: Allow optional reading only for optional configuration keys Add storage-sign-quorum-size configuration key. Add default for dbbackend configuration key. --- tools/configschema.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tools/configschema.py') diff --git a/tools/configschema.py b/tools/configschema.py index 9f4a468..e78c8c7 100644 --- a/tools/configschema.py +++ b/tools/configschema.py @@ -52,6 +52,7 @@ globalconfigschema = [ ("primarymergenode", "string", "nodename"), ("storage-quorum-size", "integer", "number of nodes"), ("backup-quorum-size", "integer", "number of nodes"), + ("storage-sign-quorum-size", "integer", "number of nodes"), ("logpublickey", "string", "key"), ("cafingerprint", "string", "fingerprint"), ("version", "integer", "version"), @@ -60,4 +61,12 @@ globalconfigschema = [ globalconfigdefaults = [ ("statusservers", []), + ("storage-sign-quorum-size", 0), ] + +localconfigdefaults = [ + ("dbbackend", "fsdb"), +] + +localconfigoptionals = set(["storageaddress", "frontendaddress", "signingaddress", "mergeaddress", "ctapiaddress", "publichttpaddress", "hsm"]) +globalconfigoptionals = set() -- cgit v1.1