Actions
Bug #11763
closedHost API does not return all parameters (e.g. from locations, et al.)
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
The data passed to the host/managed/after_build hook does not contain any parameter data. For example:
# cat HOOKIN | json_reformat { "host": { [..] "all_puppetclasses": [ ], "parameters": [ ], "interfaces": [ ], "puppetclasses": [ ], "config_groups": [ ] } }
Version-Release number of selected component (if applicable):
6.1 GA
How reproducible:
Always.
Steps to Reproduce:
1. In the location, add some paramter data (we add for example time-zone (and set this to 'America/New_York')
2) Add a hook to host/managed/after_build (we simply cat stdin to a tmp file for analysis)
3) the JSON does NOT contain ANY parameter data
Actual results:
the JSON does NOT contain ANY parameter data
Expected results:
The parameter data to be populated correctly with ALL parameters which would be applicable to that host.
Additional info:
Actions