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

Fix old install

parent dc87e579
......@@ -205,7 +205,8 @@ def migrate(migrator):
ct_promote_nodes.add(srv.node)
if srv.service == 'grafana':
conf['pg_password'] = conf['password']
conf['pg_password'] = conf.get('password', 'grafana')
if "password" in conf:
del conf['password']
if srv.service == 'mongod':
conf['db'] = 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