Project

General

Profile

Feature #30930

Allow parent and children in Hostgroup jail

Added by Manuel Laug 12 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

We want to use some relatively complex logic in our provision templates to extract host names from our hostgroup structure (e.g. database hosts for a given stage).
To do that, we want to traverse the hostgroup hierarchy using `parent` and `children`.

Associated revisions

Revision 812eb536 (diff)
Added by Manuel Laug 12 months ago

fixes #30930 - Allow methods to traverse hostgroup hierarchy (#8030)

Make hierarchy traversal methods for hostgroup available in safemode jail.

History

#1 Updated by The Foreman Bot 12 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8030 added

#2 Updated by The Foreman Bot 12 months ago

  • Fixed in Releases 2.3.0 added

#3 Updated by Anonymous 12 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 11 months ago

  • Category set to Templates

Also available in: Atom PDF