Bug #15661
closedGlobal Parameters are not updated on Host Create via API
Description
When creating a new host via the API new parameters are created however existing global parameters are not overridden. The global parameters remain the default.
Updated by Dominic Cleal over 8 years ago
Can you show how you're testing this, and the contents of your API call? I think you're saying that the parameters are stored but don't appear to override.
How parameters are inherited is done when you're accessing them, so if you're using them from Puppet then the ENC/YAML output is vital and if you're using them from a template, then an example of this would be valuable.
Updated by Chris Pisano over 8 years ago
Dominic Cleal wrote:
Can you show how you're testing this, and the contents of your API call? I think you're saying that the parameters are stored but don't appear to override.
How parameters are inherited is done when you're accessing them, so if you're using them from Puppet then the ENC/YAML output is vital and if you're using them from a template, then an example of this would be valuable.
Please close this issue. This was user error. I was calling parameters: { and not host_parameters_attributes: {. Everything is working as expected. I apologize for the confusion and inconvenience.
Updated by Dominic Cleal over 8 years ago
- Status changed from New to Rejected
Thanks for confirming.