-
-
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
Question - How to do different configs on different servers #177
Comments
This may be easier with the develop branch. I am writing tests for it now You would use the new LWRP for different consul instances.
|
One simple way would be to create three chef roles: Then either your roles also includes the |
Good idea, Can a runlist include just a single recipe? If so, I could make a
Then I just include the specific recipies in the role. {
"run_list": [
"recipe[mywebserver]",
"recipe[consul-agent::webserver]",
"role[mywebserver]"
]
} |
^ This is what I ended up doing. It works well enough. |
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. |
I'm trying to figure out how to use this cookbook to deploy different configs on different servers.
I have
How can I make it so that the web servers and the database servers have different configs?
I'm thinking I could do one of the following. None of which seems optimal.
/etc/consul.d/web.conf
ect..Is there something that I am missing? Whats the best way to deploy different configs to different servers?
The text was updated successfully, but these errors were encountered: