-
Notifications
You must be signed in to change notification settings - Fork 423
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
add the abitity to add a queue #401
Comments
need this too |
Consider using definitions import instead. |
@michaelklishin do you have an example? ive been going over the docs for the last couple days and cant figure out how to do that using chef and this recipe |
@biamorton Michael's dismission does not answer the original request but instead recommends importing an entire config file which will enforce the desired states (like X queues created) This is a quick copy/paste example from an old mrd project I worked on. It's probably close to correct, but YMMV. Let me know if I can help with it. In /etc/rabbitmq/rabbitmq.config you'd have something like
...and then in /etc/rabbitmq/definitions.json
...and rabbitmq will "do the needful" by importing that json file when it starts. IIRC The current running config can be exported from either the web interface or the rabbitmq management python script. |
Apologies to @ivanovteo who waited over a year just for OP to refuse the idea without discussion. This sucks and I'm sorry for your experience. I'm not responsible for this project in any way- I just know how it feels when this happens. |
This cookbook has grown exponentially since I took over maintenance of it. It seems we need to add a clear scope to this cookbook and identify where we should be focusing on. It's nice to have suggestions, but being we have no cadence of releases, nor dedicated resources, a suggestion is that. If there was a PR attached to this issue and it did this, I'd love to upstream it, but as with most opensource goes it's all volunteer work. |
There is an example of definitions import in the docs. It's a matter of having a local JSON file with definitions and a config entry. Instead of adding more and more resources that use HTTP API or CLI tools, it would be a lot easier to add support for definitions import. |
so we dont have definitions import on this recipe either? Another way ive been looking into is to add rabbitmqadmin so I can just run the commands to add the queues after rabbit has started on vagrant |
We do we arbitrary configuration keys support, which is all that's needed (plus a local file resource e.g. in a wrapper cookbook) to use definition files. |
Adding built-in definition file path to this cookbook should be a fairly small task. |
Hi,
It would be nice for us to have an add queue functionality.
Example:
Thank you!
The text was updated successfully, but these errors were encountered: