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

Introduce before keyword to launch role before any given

It seems that "before" looks like "depends" vice versa. Lets try it that way.
parent e4b89fb4
......@@ -92,6 +92,10 @@ class Service(Model):
for d in srv_descr[srv]["meta"]["depends"]:
if d not in deps:
deps[d] = []
elif "before" in srv_descr[srv]["meta"]:
deps[srv_descr[srv]["meta"]["before"]] = [srv]
if srv not in deps:
deps[srv] = []
else:
if srv not in deps:
deps[srv] = []
......
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