Project

General

Profile

Feature #6861

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

Added by Stephen Benjamin over 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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 (diff)
Added by Stephen Benjamin over 8 years ago

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

History

#1 Updated by The Foreman Bot over 8 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
  • Pull request deleted ()

#2 Updated by Dominic Cleal over 8 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 over 8 years ago

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

#4 Updated by Stephen Benjamin over 8 years ago

  • Bugzilla link set to 1126937

Also available in: Atom PDF