summaryrefslogtreecommitdiff
path: root/ick_controller.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-09-17 08:51:58 +0300
committerLars Wirzenius <liw@liw.fi>2018-09-17 08:51:58 +0300
commite61c54196ead96b7efcdc0794ced2314de26d030 (patch)
treecd1eb6aefae89da0a70ff648fa185b614995a406 /ick_controller.py
parent4519bdb40920bdec5d2d09084da52e37ea4d570d (diff)
downloadick2-e61c54196ead96b7efcdc0794ced2314de26d030.tar.gz
Change: worker-manager gets APT server from controller
Diffstat (limited to 'ick_controller.py')
-rw-r--r--ick_controller.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ick_controller.py b/ick_controller.py
index 4c952af..2090b4e 100644
--- a/ick_controller.py
+++ b/ick_controller.py
@@ -49,6 +49,7 @@ default_config = {
'artifact-store': None,
'auth-url': None,
'notify-url': None,
+ 'apt-server': None,
}
@@ -96,6 +97,7 @@ def main():
state.set_directory(config['statedir'])
api = ick2.ControllerAPI(state)
+ api.set_apt_server(config['apt-server'])
api.set_artifact_store_url(config['artifact-store'])
api.set_auth_url(config['auth-url'])
api.set_notify_url(config['notify-url'])