Merge "Adding default False values instead of empty ones"
diff --git a/docker/client/init.sls b/docker/client/init.sls
index f628ddc..d80dc11 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.get('enabled') %}
+{%- if client.get('enabled', False) %}
 
 include:
   {%- if pillar.docker.client.network is defined %}
diff --git a/docker/host.sls b/docker/host.sls
index 60b3cca..da8291e 100644
--- a/docker/host.sls
+++ b/docker/host.sls
@@ -38,7 +38,7 @@
   - watch_in:
     - service: docker_service
 
-{%- if host.get('proxy', {}).get('enabled') %}
+{%- if host.get('proxy', {}).get('enabled', False) %}
 {%- if host.proxy.get('http') or host.proxy.get('https') or host.proxy.get('no_proxy') %}
 
 /etc/systemd/system/docker.service.d/http-proxy.conf:
diff --git a/docker/meta/collectd.yml b/docker/meta/collectd.yml
index b5e9183..4a5a791 100644
--- a/docker/meta/collectd.yml
+++ b/docker/meta/collectd.yml
@@ -1,6 +1,6 @@
 {% from "docker/map.jinja" import host with context %}
 
-{%- if host.get('enabled') %}
+{%- if host.get('enabled', False) %}
 local_plugin:
   collectd_docker:
     plugin: python
diff --git a/docker/meta/heka.yml b/docker/meta/heka.yml
index 4a7baec..dff541b 100644
--- a/docker/meta/heka.yml
+++ b/docker/meta/heka.yml
@@ -1,6 +1,6 @@
 {% from "docker/map.jinja" import host with context %}
 
-{%- if host.get('enabled') %}
+{%- if host.get('enabled', False) %}
 metric_collector:
   trigger:
     docker-local-check:
diff --git a/docker/meta/prometheus.yml b/docker/meta/prometheus.yml
index 3789f37..1764543 100644
--- a/docker/meta/prometheus.yml
+++ b/docker/meta/prometheus.yml
@@ -2,7 +2,7 @@
 
 server:
   alert:
-{%- if host.get('enabled') %}
+{%- if host.get('enabled', False) %}
     DockerdProcessDown:
       if: >-
         procstat_running{process_name="dockerd"} == 0
@@ -15,7 +15,7 @@
         description: 'Dockerd service is down on node {{ $labels.host }}'
   {%- endraw %}
 {%- endif %}
-{%- if client.get('enabled') %}
+{%- if client.get('enabled', False) %}
   {%- for stack_name, stack in client.get('stack', {})|dictsort %}
     {%- for service_name, service in stack.get('service', {})|dictsort %}
       {%- if service.get('deploy', {}).replicas is defined %}