Project

General

Profile

Actions

Feature #1168

closed

Ability to search for Facts (and Param) without providing a value

Added by Bash Shell over 12 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Currently it is not possible to search like so:

hostgroup = X and fact_name = kernelversion

You have to provide a value for kernelversion.

This makes it much harder to get all hosts which have this fact in this hostgroup.

I can search for fact.name=kernelversion on the facts page, but then I lose the ability to filter by hostgroup or parameters.


Related issues 1 (1 open0 closed)

Is duplicate of Foreman - Feature #1611: Search for hosts without certain factsNew05/09/2012Actions
Actions #1

Updated by Ohad Levy over 12 years ago

  • Assignee set to Amos Benari
Actions #2

Updated by Tim Speetjens over 12 years ago

One could search for the existence of a fact in the hosts page (with other conditions combined) like so:

hostgroup = X and fact.kernelversion != doesnotexist

Searching that a fact does not exist isn't possible like this though, and I think it would be rather difficult to implement.

Actions #3

Updated by Ohad Levy over 10 years ago

  • Is duplicate of Feature #1611: Search for hosts without certain facts added
Actions #4

Updated by Ohad Levy over 10 years ago

  • Status changed from New to Duplicate
Actions #5

Updated by Ohad Levy over 10 years ago

  • Description updated (diff)
  • Status changed from Duplicate to Need more information
Actions #6

Updated by Ewoud Kohl van Wijngaarden about 10 years ago

  • Status changed from Need more information to Resolved

This should be marked as resolved since you can search for:

hostgroup = X and facts.kernelversion ~ *

If this is insufficient, please re-open.

Actions

Also available in: Atom PDF