-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
Create a way to automatically collect hosts for unicast cluster #2
Comments
Relevant config part: http://pastebin.com/QSWkMAau Create a define 'node' that exports the required information so it can be collected and put in the config file. |
Would be great addition to this module. |
If anyone is interested in how we go about this right now - we query the information from our PuppetDB installation using these: https://github.com/dalen/puppet-puppetdbquery |
I'm currently trying to build a library which allows for collecting variables and then fetch those as an array, which i then hopefully can use in the config variable for the node list. |
I'm pretty far with this now. |
There are still a few issues with this feature and won't make it into master for a while i think. |
First preview of some generated code: ## GENERATED BY PUPPET ##
---
cluster:
name: somename
routing:
allocation:
awareness:
attributes: rack
discovery:
zen:
ping:
unicast:
hosts:
- address_host1
- address_host2 |
Seems i got lucky :-) |
Need to write some tests for this feature and then i can implement it. stay tuned :-) |
Sorry for lack of updates on this. Just came back from vacation. |
Not sure if you have any input w/ the actual folks working on elastic search, but the ability to just do a DNS SVR lookup to specify the hosts would make this whole thing much easier! the AWS pluign requires more access than I'd like, but a simple DNS solution would be great. |
I've decided to drop this feature. Closing. |
For an ES cluster with Unicast the nodes need to be defined in the configuration.
Instead of manually configuring that, it would be nice to have an automated way to do that.
The text was updated successfully, but these errors were encountered: