Project

General

Profile

Actions

Bug #5690

closed

Taxonomy fact name not retrieved from settings

Added by Stephen Benjamin almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Facts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In app/models/host/base.rb:

taxonomy_from_fact = taxonomy_class.find_by_title(facts["#{taxonomy}_fact"])

should be

taxonomy_from_fact = taxonomy_class.find_by_title(facts[Setting["#{taxonomy}_fact"]])

Related issues 2 (0 open2 closed)

Related to Foreman - Bug #3214: No location / Organization if host added by default from puppet runClosedDaniel Lobato Garcia10/08/2013Actions
Has duplicate Foreman - Bug #5699: The "location_fact" setting does not actually look for a custom factDuplicate05/13/2014Actions
Actions

Also available in: Atom PDF