From ddb830fdfe767efe1dd8e4e27281531938211203 Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 13 Sep 2017 12:38:26 -0300 Subject: [pkg] standardize location of services tokens file Introduction of local services authentication added a configuration file containing the auth tokens for each service. There were different names for that file, and this commit standardizes all of them to the same value: /etc/soledad/services.tokens --- testing/test_soledad/fixture_soledad.conf | 2 +- testing/tests/server/test_config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testing') diff --git a/testing/test_soledad/fixture_soledad.conf b/testing/test_soledad/fixture_soledad.conf index b36774a0..80e7a4d4 100644 --- a/testing/test_soledad/fixture_soledad.conf +++ b/testing/test_soledad/fixture_soledad.conf @@ -2,7 +2,7 @@ couch_url = http://soledad:passwd@localhost:5984 create_cmd = sudo -u soledad-admin /usr/bin/soledad-create-userdb admin_netrc = /etc/couchdb/couchdb-soledad-admin.netrc -services_tokens_file = /srv/leap/soledad/auth.tokens +services_tokens_file = /etc/soledad/services.tokens batching = 0 [database-security] diff --git a/testing/tests/server/test_config.py b/testing/tests/server/test_config.py index 2176832f..dfb09f4c 100644 --- a/testing/tests/server/test_config.py +++ b/testing/tests/server/test_config.py @@ -65,6 +65,6 @@ class ConfigurationParsingTest(unittest.TestCase): '/etc/couchdb/couchdb-soledad-admin.netrc', 'batching': False, 'blobs': False, - 'services_tokens_file': '/srv/leap/soledad/auth.tokens', + 'services_tokens_file': '/etc/soledad/services.tokens', 'blobs_path': '/var/lib/soledad/blobs'} self.assertDictEqual(expected, config['soledad-server']) -- cgit v1.2.3