Use curl in a bash loop instead of http.wait_for_successful_query

This feature is not available until the next version of salt, so
using a shell command instead.

Change-Id: Iea17f1f4ec1ed891a6751a14fa63611824ab0f89
1 file changed