Actions
Feature #3843
closedHost-level parameters not passed to hooks via json
Description
The json passed to foreman hooks does now not contain the parameters set on host level (e.g. via override). This seems to have changed as it was available in the past.
Some hooks may rely on these parameters.
Updated by Dominic Cleal about 11 years ago
- Tracker changed from Bug to Feature
- Project changed from Foreman to Plugins
- Category deleted (
Host creation) - Status changed from New to Assigned
- Assignee set to Dominic Cleal
I was experimenting with using Rabl.render to render the JSON using the API rabl views which looks like it'll work well, though our patches to rabl assume that it's being invoked from a Rails controller (by accessing params
) so I'll need to fix this in core first (at least under 1.4, haven't checked 1.3).
Updated by Dominic Cleal almost 11 years ago
- Blocked by Bug #4005: allow Rabl.render(object, 'something/show') to work added
Updated by Dominic Cleal almost 11 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Fixed in foreman_hooks 0.3.5, I think only on Foreman 1.4.0 GA and above.
Actions