fixed pillar check in docker.client.init
Change-Id: Ia22864e465ff1e94b9f4ef973b40d48c6f6435c5
diff --git a/docker/client/init.sls b/docker/client/init.sls
index 8e0ca58..f628ddc 100644
--- a/docker/client/init.sls
+++ b/docker/client/init.sls
@@ -2,20 +2,22 @@
{%- if client.get('enabled') %}
include:
- {%- if client.network is defined %}
+ {%- if pillar.docker.client.network is defined %}
- docker.client.network
{%- endif %}
+ {%- if pillar.docker.client.container is defined %}
- docker.client.container
- {%- if client.compose is defined %}
+ {%- endif %}
+ {%- if pillar.docker.client.compose is defined %}
- docker.client.compose
{%- endif %}
- {%- if client.stack is defined %}
+ {%- if pillar.docker.client.stack is defined %}
- docker.client.stack
{%- endif %}
- {%- if client.registry is defined %}
+ {%- if pillar.docker.client.registry is defined %}
- docker.client.registry
{%- endif %}
- {%- if client.service is defined %}
+ {%- if pillar.docker.client.service is defined %}
- docker.client.service
{%- endif %}