Commit fd9d8aad authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Fix old install

parent dc87e579
...@@ -205,8 +205,9 @@ def migrate(migrator): ...@@ -205,8 +205,9 @@ def migrate(migrator):
ct_promote_nodes.add(srv.node) ct_promote_nodes.add(srv.node)
if srv.service == 'grafana': if srv.service == 'grafana':
conf['pg_password'] = conf['password'] conf['pg_password'] = conf.get('password', 'grafana')
del conf['password'] if "password" in conf:
del conf['password']
if srv.service == 'mongod': if srv.service == 'mongod':
conf['db'] = conf['mongod_db'] conf['db'] = conf['mongod_db']
del conf['mongod_db'] del conf['mongod_db']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment