Not sure if it helps, but foreman does have a query interface -
http://theforeman.org/wiki/foreman/Query_Interface

<http://theforeman.org/wiki/foreman/Query_Interface>Ohad

On Fri, Sep 10, 2010 at 1:14 PM, phred <[email protected]> wrote:

> I got a private answer from R.I. Pienaar on that question:
>
> he writes:
>
> your only options are:
>
> - use the yaml files in /var/lib/puppet put there by the master
> - enable exported resources and query the db
> - use something like foreman to manage your puppet infrastrcture, it
> provides such a interface
>
> in both cases you will probably need to build the query interface
> yourself.
>
> Greets
> Philipp
>
> On Sep 7, 9:06 am, phred <[email protected]> wrote:
> > Hi there
> >
> > Is there a possibility to get all servers via API that e.g. have
> > "import production" whereas production is a module/class.
> > I want to use that host list for doing "push deployments" - something
> > that needs to be live immediately.
> >
> > Greets
> > Philipp
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<puppet-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to