Project

General

Profile

Feature #46

add query interface

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
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

Related to Foreman - Feature #126: provide example script that uses the query interfaceClosed

Associated revisions

Revision 0e12dbfc (diff)
Added by Ohad Levy over 9 years ago

fixes #46, This adds a basic query able interface to Foreman

Revision 97c784e1 (diff)
Added by Kavita Gaikwad over 1 year ago

Fixes #46 - isc dhcp configuration check

History

#1 Updated by Ohad Levy over 9 years ago

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

#2 Updated by Ohad Levy over 9 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.

#3 Updated by Ohad Levy over 9 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF