Project

General

Profile

Actions

Bug #15661

closed

Global Parameters are not updated on Host Create via API

Added by Chris Pisano almost 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Dominic Cleal almost 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.

Actions #2

Updated by Chris Pisano almost 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.

Actions #3

Updated by Dominic Cleal almost 8 years ago

  • Status changed from New to Rejected

Thanks for confirming.

Actions

Also available in: Atom PDF