g0t4 / consul-getting-started

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!
81 stars 71 forks source link

README and json locations #9

Open bonsors opened 7 years ago

bonsors commented 7 years ago

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

g0t4 commented 7 years ago

Are you following along with the course?