Changed the sequence of includes
When running the whole state "machines" part is executed first.
It is impossible because there is no package from "cluster"
part installed (maas-rack-controller).
Change-Id: Icb7b625d7aa5e816805841f1f09f952f3264b7c0
diff --git a/maas/init.sls b/maas/init.sls
index 7ced1e5..878705e 100644
--- a/maas/init.sls
+++ b/maas/init.sls
@@ -1,12 +1,12 @@
{%- if pillar.maas is defined %}
include:
+{%- if pillar.maas.cluster is defined %}
+- maas.cluster
+{%- endif %}
{%- if pillar.maas.region is defined %}
- maas.region
{%- endif %}
{%- if pillar.maas.machines is defined %}
- maas.machines
{%- endif %}
-{%- if pillar.maas.cluster is defined %}
-- maas.cluster
-{%- endif %}
{%- endif %}