Add @provisioning_type variable to tell when provisioning with a host group
|Assigned To:||Stephen Benjamin|
|Target version:||Sprint 27|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/1637|
|Velocity based estimate||-|
A host group provisioned host won't have a token, so the call to foreman_url fails. We should have a helper to know if we're provisioning by hostgroup/template or an actual host.