I ran into this problem where the formula can't download and install
Consul:
https://github.com/saltstack/salt/issues/38730
As a work around, I'm making the download URL configurable. Not sure if
many other people will find this useful, so if you don't want to merge
it that's fine. For me it's only a temporary fix until I can upgrade
Salt.
Break up the consul formula into two states: consul and consul-template
such that it is possible to install consul without consul-template.
Update consul and consul-template to 0.6.4 and 0.14.0 respectively.
Consul template can now be configured with pillars.