Consul work

patch that builds on top of @sorenh 's work to get consul actually working for our current depoyment.