Bug #15661
closed
Global Parameters are not updated on Host Create via API
Added by Chris Pisano over 8 years ago.
Updated over 8 years ago.
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.
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.
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.
- Status changed from New to Rejected
Also available in: Atom
PDF