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
- Host: GitHub
- URL: https://github.com/omry/restmco
- Owner: omry
- Created: 2012-02-01T15:55:08.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-22T10:08:06.000Z (over 13 years ago)
- Last Synced: 2025-01-26T00:12:13.575Z (12 months ago)
- Language: Ruby
- Homepage:
- Size: 88.9 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
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