-
-
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
Service definition with an integrated check #280
Comments
I think the only way to do this would be to update the |
So that does this mean that there is no way to implement a previously available feature? |
This works for me:
|
Thanks @fstradiotti and @gdavison ! |
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. |
Hello,
I've updated my wrapper cookbook to use the latest version of this consul-cookbook and noticed that the service/check definition has changed a lot. I am trying to create a service definition with an integrated health check but after reading through the documentation and doing trials and errors I can't seem to figure out how it's done.
Previously I would have written something like this:
This is not allowed anymore so I tried doing it with the new type of consul_defitinion:
This results in two independent resources which are not linked to each other. If I name both consul_definitions to "vault" then one will override the other one.
How would I create a service definition with an integrated check like I did in my first example? Can someone point me in the right direction please? Thanks!
The text was updated successfully, but these errors were encountered: