Project

General

Profile

Actions

Feature #46

closed

add query interface

Added by Ohad Levy over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

it should be possible to query forman for a list of hosts based on classes or facts

this should eventually could be supported by puppet querying foreman - e.g. in a template:

foreman.query {:class => "apache"}.each do |host|
...

or

foreman.query {:class => "apache", :fact => "i386"}.each do |host|


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #126: provide example script that uses the query interfaceClosedOhad LevyActions
Actions

Also available in: Atom PDF