You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Failed to apply catalog: Parameter definition failed on Rabbitmq_policy[example1]: Invalid definition, value 3 is not a string
For the string delivery-limit:
Error:
Validation failed
<<"3">> is not a valid delivery limit
What behaviour did you expect instead
I should be able to set a delivery limit via policy with the RabbitMQ module.
Any additional information you'd like to impart
I can see in the code that the module expects all policy values to be Strings as they come in from the manifest, and the Type munges a select whitelist of values to integers; obviously delivery-limit could be added to this whitelist, but, I wonder if it wouldn't make more sense to instead stop trying to enforce stringiness in the first place - example 1 should be allowed to 'just work', without the module needing to be aware that the delivery-limit policy takes an integer.
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
For the integer delivery-limit:
For the string delivery-limit:
What behaviour did you expect instead
I should be able to set a delivery limit via policy with the RabbitMQ module.
Any additional information you'd like to impart
I can see in the code that the module expects all policy values to be Strings as they come in from the manifest, and the Type munges a select whitelist of values to integers; obviously
delivery-limit
could be added to this whitelist, but, I wonder if it wouldn't make more sense to instead stop trying to enforce stringiness in the first place - example 1 should be allowed to 'just work', without the module needing to be aware that thedelivery-limit
policy takes an integer.The text was updated successfully, but these errors were encountered: