Feature #46
add query interface
| Status: | Closed | Start: | 10/13/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | Puppet integeration | |||
| Target version: | 0.1-2 | |||
| Backlog: | Difficulity: | |||
| Votes: | 0 |
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 interface | Closed | 12/10/2009 |
Associated revisions
Revision 0e12dbfc4cca1d7315a3ab0d68225cf5f667358b
fixes #46, This adds a basic query able interface to Foreman
History
Updated by Ohad Levy over 2 years ago
- Status changed from New to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset 0e12dbfc4cca1d7315a3ab0d68225cf5f667358b.
Updated by Ohad Levy over 2 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.
Updated by Ohad Levy over 2 years ago
- Status changed from Ready For Testing to Closed
