Custom API's in puppet

asked 2016-04-18 02:18:34 -0500

hKothuri gravatar image

Hi I'm looking for API's for MColletive module which are not available. Is there a way that we can write our own API's in puppet and which can internally call/use MCollective commands.

Thanks

edit retag flag offensive close merge delete

Comments

You have to create your own api framework
. I use mojolicious and JSON as RPC
mco also has the -j switch which makes it very easy.
Rgds.
Franz

FranzCC gravatar imageFranzCC ( 2016-04-18 04:50:28 -0500 )edit