[state] maas: Retry first state apply on mas01 05/65305/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 21 Nov 2018 13:48:31 +0000 (14:48 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 21 Nov 2018 13:48:31 +0000 (14:48 +0100)
Change-Id: I6d2fab853b25d2f235e27c83a355ebc2c520771c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/config/states/maas

index f321b71..2764067 100755 (executable)
@@ -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