fix: add ignore and fix states options

This commit is contained in:
Adrien Waksberg 2022-11-10 16:44:43 +01:00
parent e2ed6fb9b5
commit 4915f4792d

View file

@ -20,9 +20,14 @@ apply Dependency "{{ name }}" to Service {
{% endif %}
{% endfor %}
{% if dependency.states is defined %}
states = [ {{ value | join(', ') }} ]
states = [ {{ dependency.states | join(', ') }} ]
{% endif %}
{% if dependency.assign is defined %}
assign where {{ dependency.assign }}
{% endif %}
{% if dependency.ignore is defined %}
ignore where {{ dependency.ignore }}
{% endif %}
}
{% endfor %}