diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2020-01-28 16:07:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2020-01-28 16:07:00 +0000 |
commit | 17fddf29239eca61147e3b5456e39bed21f8a445 (patch) | |
tree | fa3ec045a1617c3a64d9f4e90b734fd30ae8a0f8 /mcp/patches/salt-formula-maas | |
parent | 8e80826d50172c42a19a5e0ee705a84c3a9a80f7 (diff) | |
parent | a3d31a425e0bcfd040746ee21063e108e4487e07 (diff) |
Merge "cfg01, mas01: Switch to Ubuntu Bionic"
Diffstat (limited to 'mcp/patches/salt-formula-maas')
-rw-r--r-- | mcp/patches/salt-formula-maas/0007-region-s-syncdb-migrate-for-MaaS-2.4-compatibility.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mcp/patches/salt-formula-maas/0007-region-s-syncdb-migrate-for-MaaS-2.4-compatibility.patch b/mcp/patches/salt-formula-maas/0007-region-s-syncdb-migrate-for-MaaS-2.4-compatibility.patch new file mode 100644 index 000000000..f0a70ffc4 --- /dev/null +++ b/mcp/patches/salt-formula-maas/0007-region-s-syncdb-migrate-for-MaaS-2.4-compatibility.patch @@ -0,0 +1,30 @@ +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +: Copyright (c) 2019 Mirantis Inc., Enea AB and others. +: +: All rights reserved. This program and the accompanying materials +: are made available under the terms of the Apache License, Version 2.0 +: which accompanies this distribution, and is available at +: http://www.apache.org/licenses/LICENSE-2.0 +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +From: Alexandru Avadanii <Alexandru.Avadanii@enea.com> +Date: Mon, 27 Jan 2020 17:10:04 +0100 +Subject: [PATCH] region: s/syncdb/migrate/ for MaaS 2.4 compatibility + +Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> +--- + maas/region.sls | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/maas/region.sls b/maas/region.sls +index ca876ee..31e9906 100644 +--- a/maas/region.sls ++++ b/maas/region.sls +@@ -186,7 +186,7 @@ maas_region_services: + maas_region_syncdb: + cmd.run: + - names: +- - maas-region syncdb --noinput ++ - maas-region migrate --noinput + - require: + - file: /etc/maas/regiond.conf + {%- if grains['saltversioninfo'][0] >= 2017 and grains['saltversioninfo'][1] >= 7 %} |