Feature #6861

Add @provisioning_type variable to tell when provisioning with a host group

Added by Stephen Benjamin over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Stephen Benjamin
Category:Templates
Target version:Sprint 27
Difficulty: Bugzilla link:1126937
Found in release: Pull request:https://github.com/theforeman/foreman/pull/1637
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

Description

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.

Associated revisions

Revision 7d5aaa82
Added by Stephen Benjamin over 3 years ago

fixes #6861 - provide a way to detect host group provisioning

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Target version set to Sprint 27
  • Pull request https://github.com/theforeman/foreman/pull/1637 added

#2 Updated by Dominic Cleal over 3 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from Host group provisioning cannot call foreman_url to Add @provisioning_type variable to tell when provisioning with a host group
  • Release set to 1.6.0

#3 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Stephen Benjamin over 3 years ago

  • Bugzilla link set to 1126937

Also available in: Atom PDF