Bring Azure deploy scripts up to date

Commit 9934a0ace4a2a35463bf9c933eab9ab2b71a139a has changes that affect the global salt configs. 

Everything else is Azure specific.

Fixes #1731 #1485 
This is a bit of an ugly loop :)

I *think* the intent here is to keep looping as long as you get an error return code and stderr doesn't have "getaddrinfo ENOTFOUND" in it.

@filbranden Do you have ideas here?