This is a sample repo of examples for getting started with Consul. It even includes a multi datacenter example with 14 VMs to allow you to simulate failures in a multi DC environment!
README details .json files residing in /vagrant directory.
These are not there. The files appear to be located under the sub-directories provision/*.d
On the assumption that the web.service.json is located there, I attempted to tun the consul agent on one of the web services. This failed:
consul agent -advertise $ip -config-file /vagrant/common.json -config-file /vagrant/provision//web-consul.d/web.service.json
==> Must specify data directory using -data-dir
README details .json files residing in /vagrant directory.
These are not there. The files appear to be located under the sub-directories provision/*.d On the assumption that the web.service.json is located there, I attempted to tun the consul agent on one of the web services. This failed:
consul agent -advertise $ip -config-file /vagrant/common.json -config-file /vagrant/provision//web-consul.d/web.service.json ==> Must specify data directory using -data-dir