An open API service indexing awesome lists of open source software.

https://github.com/omry/restmco

MCollective rest server with a clean URL API
https://github.com/omry/restmco

Last synced: 10 months ago
JSON representation

MCollective rest server with a clean URL API

Awesome Lists containing this project

README

          

Simple REST server to access MCollective

== Options ==
The following filters/options are supported:
-Ffact=value : fact filter
-Cclass_name : class filter
-Ihostname : Identity filter
-Aagent_name : Agent filter
-L : Limit the number of targets to

== Examples ==
http://localhost:4567/mco/find
Finds all nodes

http://localhost:4567/mco/find?-Cweb
Finds all nodes with the web class

http://localhost:4567/mco/filemgr/status?file=/etc/hosts&-Ihostname
Returns the file info for /etc/hosts on the node with the identity 'hostname'

Results are in JSON format