Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Update README with what has changed #201
Would it be possible to amend the readme with example configuration for setting up a consul server vs setting up a consul agent? I've just switched to version 1.0.0 and finding my old wrapper cookbook no longer works, but I'm not entirely sure how this is done with this latest version.
Documentation regarding multiple checks for a single service would also be very much appreciated
Many thanks for that, that seems to be setting up the config fine now. Although, testing with a docker Centos 6.6 image, it seems to be having problems configuring the consul service. I get this error when trying to converge:
It appears to attempt to setup an init script with the following line:
If I try to run this manually, I get:
It appears that consul is not in the current path. The init script sets up the path as:
However the consul binary is here:
I don't think Centos 6.5 is supported, but I have tried to run it within a virtual machine (non docker), and when I do no init script is created, it appears to start consul in a different way.
Going back to the issue of having multiple checks for a service (using the example at the bottom of this page https://consul.io/docs/agent/checks.html), prior to version 1.0.0 I was able to use multiple checks in the following way:
If I use the same approach now, with the new syntax, it simply overwrites the Disk check and all I have remaining is the CPU check.
Based on the example above from the consul website, would it be possible for us to having the following syntax for multiple services?
If I try that now I get:
Thanks for your help with this, it is very much appreciated.