aboutsummaryrefslogtreecommitdiff
path: root/rpkid/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-08-30 17:22:15 +0000
committerRob Austein <sra@hactrn.net>2012-08-30 17:22:15 +0000
commit8171c9ebe21f2181efc6192a9d189901b57c6708 (patch)
treef31a43b16614b8102a9b7a39ea6188772cb4ca2a /rpkid/tests
parent3731077e6bfbcc5a949d2f5b768e52757d744802 (diff)
Leave BPKI directory setting alone when not in loopback mode. As a
consequence, non-loopback users of yamlconf output will need to call "rpkic update_bpki" before starting daemons. svn path=/branches/tk274/; revision=4678
Diffstat (limited to 'rpkid/tests')
-rw-r--r--rpkid/tests/yamlconf.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpkid/tests/yamlconf.py b/rpkid/tests/yamlconf.py
index 34ae8ba0..d3fe9f28 100644
--- a/rpkid/tests/yamlconf.py
+++ b/rpkid/tests/yamlconf.py
@@ -358,14 +358,14 @@ class allocation(object):
pubd_server_host = self.pubd.hostname,
pubd_server_port = str(self.pubd.pubd_port),
publication_rsync_server = self.rsync_server,
- publication_base_directory = self.publication_base_directory,
- bpki_servers_directory = self.path())
+ publication_base_directory = self.publication_base_directory)
if loopback:
r.update(
irdbd_sql_database = self.irdb_name,
rpkid_sql_database = "rpki%d" % self.engine,
- pubd_sql_database = "pubd%d" % self.engine)
+ pubd_sql_database = "pubd%d" % self.engine,
+ bpki_servers_directory = self.path())
r.update(config_overrides)
@@ -750,7 +750,7 @@ def body():
x = d.pubd.zoo.configure_publication_client(x.file, flat = flat_publication)[0]
d.zoo.configure_repository(x.file)
- if not d.is_hosted:
+ if loopback and not d.is_hosted:
with d.irdb:
d.zoo.write_bpki_files()