-
-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README with what has changed #201
Comments
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 Thanks |
Take a look at the basic usage that i just updated. Let me know if there are any other questions! |
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. |
I'll give it a run. |
Seems to work ok with just
(removing the env part) |
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. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
No description provided.
The text was updated successfully, but these errors were encountered: