Feature #6861

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

Added by Stephen Benjamin almost 4 years ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Stephen Benjamin
Category:Templates
Target version:1.6.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1126937 Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/1637

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 almost 4 years ago

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

History

#1 Updated by The Foreman Bot almost 4 years ago

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

#2 Updated by Dominic Cleal almost 4 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
  • Legacy Backlogs Release (now unused) set to 10

#3 Updated by Anonymous almost 4 years ago

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

#4 Updated by Stephen Benjamin almost 4 years ago

  • Bugzilla link set to 1126937

Also available in: Atom PDF