summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/maas
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-11-21 14:48:31 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-12-01 19:55:55 +0000
commitb5cad334243a0e258ba01d83c6884daee92503f5 (patch)
tree87cff47fca2d913feb38272fe6df1788e473937c /mcp/config/states/maas
parent5964ced7ec61e3a051a1ab2ca4e175294e0f9fa5 (diff)
[state] maas: Retry first state apply on mas01
Change-Id: I6d2fab853b25d2f235e27c83a355ebc2c520771c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 20dcc03e2acd0d143723c3c319f73c19d894718c)
Diffstat (limited to 'mcp/config/states/maas')
-rwxr-xr-xmcp/config/states/maas2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/maas b/mcp/config/states/maas
index f321b7160..2764067da 100755
--- a/mcp/config/states/maas
+++ b/mcp/config/states/maas
@@ -78,7 +78,7 @@ if [ "${ERASE_ENV}" -gt 1 ]; then
fi
# MaaS rack/region controller, node commissioning
-salt -C 'mas01*' state.apply linux,salt,openssh,ntp
+wait_for 10.0 "salt -C 'mas01*' state.apply linux,salt,openssh,ntp"
salt -C 'mas01*' state.apply maas.pxe_nat
salt -C 'mas01*' state.apply maas.cluster