Provisioning hosts doesnt work well with host parameters

Hi,

Check my draft PR: [WIP] host_param macro & transient host parameters by stejskalleos · Pull Request #10790 · theforeman/foreman · GitHub

From the investigation in the RFC, there are three suggestions for fixes:

  1. Change logic in the Orchestration queuing.

  2. Allow rendering transient host params via :host_parameter macro.

  3. Revert the Orchestration::Templates feature.

I chose a second approach simply for the safety & lower impact, I don’t feel confident enough to alter the orchestration workflow. Plus, the second approach is more straightforward to cherry-pick, which we need.
The third option is a last resort, to be used only after we agree there is no hope.

More information & details in the Github PR.
Happy Friday!