On Fri, Apr 5, 2013 at 2:40 AM, Venky Acharya <[email protected]> wrote:
> Where can i find a list of REST API's for puppet opensource?
>

We don't really have any of the puppet calls documented. You might
find references to say that they are there, but there isn't any
documentation about formats or how to use them.

> I am looking for following set of operations to be performed through a REST
> API call:
> 1. Add host to group
> 2. Add parameters to host
> 3. Add parameters to host group
> 4. Create host group
> 5. Delete host group
> 6. Get all groups
> 7. Get all hosts
> 8. Get all puppet certificates
> 9. Get all puppet classes
> 10. Get group details
> 11. Get host details
> 12. Get host status
> 13. Get last run report of host
> 14. Invoke puppet run on host
> 15. Modify parameters of host
> 16. Move host to another group
> 17. Remove host from group
> 18. Remove parameters from host
> 19. Set puppet classes of group
> 20. Sign certificate of host
>

As Aaron says, many of these are actually part of the puppet dashboard
and not part of puppet itself. One (invoke a puppet run on a host) is
better handled by using another service like mcollective. What are you
planning on doing that needs access to so many parts of the puppet
system?

> Are these possible through a REST API call of opensource puppet? If so, how
> and where can i find this information. I am also looking for additional
> operations which can be performed using the REST call, but not finding any
> documentation.
> Any information on this would be of great help.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Andrew Parker
[email protected]
Freenode: zaphod42
Twitter: @aparker42
Software Developer

Join us at PuppetConf 2013, August 22-23 in San Francisco -
http://bit.ly/pupconf13
The first 150 tickets sold will be available at a 35% discount - register now!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to