Merge "Fix endif position introduced by bootstrap flag"
diff --git a/galera/master.sls b/galera/master.sls
index 299eb4e..2081ca0 100644
--- a/galera/master.sls
+++ b/galera/master.sls
@@ -214,6 +214,7 @@
     - file: galera_config
 
 {%- endif %}
+{%- endif %}
 
 galera_config:
   file.managed:
@@ -234,4 +235,3 @@
   {%- endif %}
 
 {%- endif %}
-{%- endif %}
diff --git a/galera/slave.sls b/galera/slave.sls
index c9da051..5420424 100644
--- a/galera/slave.sls
+++ b/galera/slave.sls
@@ -213,6 +213,7 @@
     - file: galera_config
 
 {%- endif %}
+{%- endif %}
 
 galera_config:
   file.managed:
@@ -233,5 +234,4 @@
   {%- endif %}
 
 {%- endif %}
-{%- endif %}