Project

General

Profile

Actions

Feature #2212

open

Search on class parameters

Added by Jason Ashby almost 12 years ago. Updated over 8 years ago.

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

Description

I'm using Foreman 1.1 RC5 and have been making use of parameterized classes. I'd like to be able to search for hosts on class parameter values. For example, I'd like to know what hosts are running Apache version 2.4.3.

I understand that you can search on params in the web GUI, but when I search for this:

params.version_apache = 2.4.3

it says 'not recognized for searching' in the drop-down and returns an empty list. version_apache is a parameter in my apache puppet class as such:

class apache($version_apache = '2.2.23') {
...
}

which I then import into Foreman and override at the hostgroup and host levels.

Actions

Also available in: Atom PDF