Project

General

Profile

Bug #2478

smart-variable match by hostgroup label created by 1.1 stopped working

Added by Amos Benari about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Variables
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

In foreman 1.1 matcher by nested hostgroups where based on the hostgroup name.
Now it is based on hostgroup label (including the full path).
A migration is needed to replace matchers content.

For example for a hostgroup base/nested the matcher
hostgroup=nested should be replaced with hostgroup=base/nested


Related issues

Has duplicate Foreman - Bug #2479: Failed to generate external nodes for <> with undefined method `value_for' for #<LookupKey>Duplicate2013-05-09

Associated revisions

Revision 3a96ba00 (diff)
Added by Amos Benari about 6 years ago

fixes #2478 - smart-variable in ENC stopped working

Revision b826d8de (diff)
Added by Amos Benari about 6 years ago

fixes #2478 - smart-variable in ENC stopped working
(cherry picked from commit 3a96ba00c7f5c698eb5c9441be69f3f82f263e9a)

History

#1 Updated by Amos Benari about 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF