From 4f2207571928dc685102e3b3ff55e79cd3d46b6d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 20 Jul 2019 17:34:01 +0300 Subject: Add: muck-url to controller config --- ick_controller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ick_controller.py b/ick_controller.py index 2090b4e..62ccaef 100644 --- a/ick_controller.py +++ b/ick_controller.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -# Copyright (C) 2017-2018 Lars Wirzenius +# Copyright (C) 2017-2019 Lars Wirzenius # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -47,6 +47,7 @@ default_config = { 'log': [], 'statedir': None, 'artifact-store': None, + 'muck-url': None, 'auth-url': None, 'notify-url': None, 'apt-server': None, @@ -93,8 +94,7 @@ def main(): ick2.log.log('info', msg_text='Ick2 controller starts', config=config) - state = ick2.FilePersistentState() - state.set_directory(config['statedir']) + state = ick2.MuckStore(config['muck-url']) api = ick2.ControllerAPI(state) api.set_apt_server(config['apt-server']) -- cgit v1.2.1