-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
Still can't put multiple routing keys on the same exchange #670
Comments
Hi @witchbutter If you're not getting a duplicate resource error, are you using Hiera, or declaring it resource-like? I think you should get a duplicate error if the latter. |
ps - #504 is the PR. While this enhancement did get added, Vox doesn't take over all of the existing tickets when a module migrates to us from Puppet Labs, so it is true that some issues in the Puppet ticket system may not get dealt with if a new issue isn't raised. |
Ok it wasn't clear to me that was the intent in the README but it does work now that you pointed that out. My only comment is for the config I am building I was already at 1000 lines without being able to have all the routing keys and now I will have another 30-50 resource declarations to get the remaining routing keys. I will definitely need to create a few defined resources to reduce the repetitive code where it would have been a lot simpler to be able to insert an array. Thank you very much for the fast response. |
@witchbutter Yes, my first pass on this was actually to allow an array to be passed in for routing keys. There was another proposal to just specify it as You may be able to do some stuff in the Puppet language (or defining the bindings in hiera) to tighten it up a bit. HTH |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Any incidence where you would want multiple routing keys for a single exchange:
What are you seeing
Only the first routing key gets used, the others are ignored
What behaviour did you expect instead
Multiple routing keys on the same exchange. This module is useless to me without this detail.
Any additional information you'd like to impart
This has been an issue for over a year and it looks like it got ignored when voxpupuli took over and raised the major version:
https://tickets.puppetlabs.com/browse/MODULES-3679
The text was updated successfully, but these errors were encountered: