From 64e7376fe4e8834b874942866c132b64442cd504 Mon Sep 17 00:00:00 2001
From: Niels Abspoel <aboe76@gmail.com>
Date: Sat, 1 Oct 2016 11:31:56 +0200
Subject: [PATCH] fix minion daemon to be enabled if master_type is set to
 disable

---
 salt/standalone.sls | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/salt/standalone.sls b/salt/standalone.sls
index ba5441f..e76e2c3 100644
--- a/salt/standalone.sls
+++ b/salt/standalone.sls
@@ -15,10 +15,11 @@ salt-minion:
         standalone: True
 {%- if salt_settings.minion.master_type is defined and salt_settings.minion.master_type == 'disable' %}
   service.running:
+    - enable: True
 {%- else %}
   service.dead:
-{%- endif %}
     - enable: False
+{%- endif %}
     - name: {{ salt_settings.minion_service }}
     - require:
 {% if salt_settings.install_packages %}