-
-
Notifications
You must be signed in to change notification settings - Fork 499
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
Change existing binding doesn't seem to work! #737
Comments
Is this with the latest version of the module? |
@wyardley Hi, yes. I am using module version 8.4.0 and RabbitMQ version 3.7.7 |
@AnnieTheEagle thanks. I probably won't be able to investigate this anytime soon, though if you can print the debug output, and the (sanitized) commands that Puppet is calling around that message, that might help see what's going on somewhat? Taking a quick look through the type / provider, I'm not totally sure how it's even updating existing binding resources at all. Another thing that might help if you can throw it up would be a self-contained example that can reproduce this problem. I most likely won't be able to investigate this, but if you or someone throws up a PR, I'm happy to help review. |
@wyardley I think I've at least worked out why it doesn't work. It seems that there is a field required (when using This I don't think it's currently updating existing bindings at all. It's strange that it's logging it to the console, but even if you did create a simple update function in the provider that did destroy old, create new, you'd have to find a way to work out which properties_key to destroy, as it is a required argument of |
Whenever I try to change an existing binding, that was in the .pp file before, it seems to write to the notice log that it has changed the binding, but it hasn't actually.
Example:
Notice there is a change to the "log_level" argument (both the key and the value have changed).
When running this change we get:
But nothing actually changes...
The text was updated successfully, but these errors were encountered: