Project

General

Profile

Actions

Feature #46

closed

add query interface

Added by Ohad Levy over 14 years ago. Updated over 14 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 #1

Updated by Ohad Levy over 14 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100
Actions #2

Updated by Ohad Levy over 14 years ago

it is quite limited at this point of time, but I'm closing this ticket as the basic infrastructure is here.
any new feature requests are welcomed.

Actions #3

Updated by Ohad Levy over 14 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF