Switch maas to dockerized PostgreSQL
db initialization change due to issue with syncdb mode with external
Postgresql in docker
Prod-related: PROD-25203 (PROD:25203)
Change-Id: I203e1faf2bf5f6367ce5535e0f2c4400b66455c9
diff --git a/maas/region.sls b/maas/region.sls
index 066490c..06d1970 100644
--- a/maas/region.sls
+++ b/maas/region.sls
@@ -133,7 +133,7 @@
maas_region_syncdb:
cmd.run:
- names:
- - maas-region syncdb --noinput
+ - maas-region dbupgrade
- require:
- file: /etc/maas/regiond.conf
{%- if grains['saltversioninfo'][0] >= 2017 and grains['saltversioninfo'][1] >= 7 %}