Skip to content
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

Consider making rabbitmqadmin available in PATH for Debian and RPM packages #692

Closed
wyardley opened this issue Mar 17, 2016 · 3 comments
Closed

Comments

@wyardley
Copy link

I get that you may want to pre-configure it for the right URL, but it would be great if you could ship some kind of version of rabbitmqadmin suitable for config management packages to install or modify (even if it's a template of some sort, or only has default values, e.g., localhost / 15672 in default options).

For example, in Puppet, it has to do a curl of the admin interface using a username to connect in order to get the file, which seems like a really kludgy way to do it:
https://github.com/puppetlabs/puppetlabs-rabbitmq/blob/master/manifests/install/rabbitmqadmin.pp
https://tickets.puppetlabs.com/browse/MODULES-3098

@michaelklishin
Copy link
Member

It's a zero-dependency Python script. Why not bundle it with the Puppet module?

Producing a .deb package for rabbitmqadmin sounds like an overkill. I'm inclined to think we should consider making it available on PATH in the server package.

@michaelklishin michaelklishin changed the title make rabbiqmqadm template accessible as file in RPM / .deb packages Consider making rabbitmqadmin available in PATH for Debian and RPM packages Mar 17, 2016
@wyardley
Copy link
Author

The Puppet module (and presumably modules for other config management tools) may manage multiple versions of RabbitMQ, which I would think might be the reason they're pulling it from the admin interface?
I wasn't suggesting having it as a separate package, but including the file in the server package would be fantastic, and I imagine would make things easier.

@michaelklishin
Copy link
Member

Fair enough. rabbitmqadmin and the HTTP API do not change often, and if they simply were in PATH it would take care of versioning anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants