Add requirement for docker-compose-contrail-control-env
Change-Id: I6ac2406d5f3da6e787ca69d83183917379a8702d
diff --git a/opencontrail/control.sls b/opencontrail/control.sls
index 0883d5f..48f3fa4 100644
--- a/opencontrail/control.sls
+++ b/opencontrail/control.sls
@@ -77,6 +77,8 @@
- "CONTRAIL_UID={{ salt['user.info']('contrail').get('uid', 0) }}"
- "CONTRAIL_GID={{ salt['user.info']('contrail').get('uid', 0) }}"
- makedirs: true
+ - require:
+ - user: user_contrail
{%- endif %}
{%- if control.version == 3.0 and control.get('dns', {}).get('forwarders', False) %}