Custom API's in puppet

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

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.


edit retag flag offensive close merge delete


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.

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