commit | 574dfbfc166df4e11391a35c674ed9fe6a695554 | [log] [tgz] |
---|---|---|
author | Simon Pasquier <spasquier@mirantis.com> | Tue Sep 12 11:43:54 2017 +0200 |
committer | Simon Pasquier <spasquier@mirantis.com> | Tue Sep 12 11:43:54 2017 +0200 |
tree | e66ded7aa7058655e548dadb2474c8bf9db89a0b | |
parent | 0dfff9a7b16420e5a394ada09ee31bfe5525d4ca [diff] |
Prevent crash when client.enabled isn't defined Change-Id: I29a526767d4f608edf50c4c599799ca2df7603f9
diff --git a/docker/client/init.sls b/docker/client/init.sls index 2286f9d..e99aa8b 100644 --- a/docker/client/init.sls +++ b/docker/client/init.sls
@@ -1,5 +1,5 @@ {% from "docker/map.jinja" import client with context %} -{%- if client.enabled %} +{%- if client.get('enabled') %} include: {%- if client.network is defined %}