diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-07-20 17:34:01 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-08-03 21:06:50 +0300 |
commit | 4f2207571928dc685102e3b3ff55e79cd3d46b6d (patch) | |
tree | 92024d274bb26090af42ddb97d423c2d4786f3b5 | |
parent | b87027a3c7d3bc88e2674c9e22c8745c9dbf1043 (diff) | |
download | ick2-4f2207571928dc685102e3b3ff55e79cd3d46b6d.tar.gz |
Add: muck-url to controller config
-rw-r--r-- | ick_controller.py | 6 |
1 files 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']) |