aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config
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-11-21 14:48:31 +0100
commit20dcc03e2acd0d143723c3c319f73c19d894718c (patch)
treec2d4fb1b93024cdea44adf6cc6fd1037919f419e /mcp/config
parent57f11cf2d7ae13c7ccf42b12b5e54a5953a3c8ec (diff)
[state] maas: Retry first state apply on mas01
Change-Id: I6d2fab853b25d2f235e27c83a355ebc2c520771c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/config')
-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