dependency for packages
diff --git a/maas/cluster.sls b/maas/cluster.sls
index eeab396..2e63ccb 100644
--- a/maas/cluster.sls
+++ b/maas/cluster.sls
@@ -9,6 +9,8 @@
- creates: /var/lib/maas/.cluster_bootstrap_secrets
- watch_in:
- service: maas_region_services
+ - require:
+ - pkg: maas_region_packages
maas_cluster_dns_conflicts:
cmd.run:
@@ -16,6 +18,8 @@
- creates: /var/lib/maas/.cluster_bootstrap_dns
- watch_in:
- service: maas_region_services
+ - require:
+ - pkg: maas_region_packages
{%- endif %}