Project

General

Profile

Actions

Feature #16643

closed

Allow user to know fact's origin

Added by Daniel Lobato Garcia over 8 years ago. Updated over 6 years ago.

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

Description

Facts can come from various sources, including the Discovery image, Puppet, Ansible, Salt, Chef...
The user has no way of determining which fact comes from where. The fact importers could easily set an 'origin' field to FactValue that each of the 'FactImporter' subclasses override. e.g: PuppetFactValue#origin is :puppet.
The origin field has to be set on FactValue, and not on FactName, as two sources of facts may provide the facts for the same FactName.
Based on these facts, the user can see in the facts table which facts come from where, which can be useful.
This field should be shown in API responses as well.


Related issues 1 (0 open1 closed)

Related to Chef - Feature #18057: Display nicer origin for the chef factClosedMarek Hulán01/12/2017Actions
Actions #1

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/3874 added
Actions #2

Updated by Anonymous about 8 years ago

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

Updated by Dominic Cleal about 8 years ago

  • Translation missing: en.field_release set to 189
Actions #4

Updated by Daniel Lobato Garcia about 8 years ago

  • Target version set to 1.5.2
Actions #5

Updated by Marek Hulán almost 8 years ago

  • Related to Feature #18057: Display nicer origin for the chef fact added
Actions

Also available in: Atom PDF