As you might know I am looking to replace the ruby mcollectived with one
written in Go.

This gives me a chance to rethink a bit how agents are written.  I will
continue to support the Ruby ones of course and will aim to provide as
near as possible backward compat for those.  

I am wondering though what other options people might consider, here's a
few I had in mind:

 - general exec based agents that receive JSON and responds with JSON
 similar to these[1]
 - gRPC based to other languages using tooling made by hashicorp[2]
 - compiled into custom builds of choriad written in go for things like
 rpi's
 - some kind of shell-script optimised agent type thats trivial to make
 but limited 

The above will cover all languages, we'll still need something like a
DDL - this is essential in all RPC systems, it has to exist but it will
not stay in the weird freeform ruby DSL thing.  It might be JSON Schema
or something similar, I'd hope we can get to have a web ui for writing
these damn things, or at the very least JSON schema so VS Code can be
used with tab completion etc, thoughts on this appreciated too?

What thoughts have you had on making writing agents easier?

[1]
https://github.com/puppetlabs/marionette-collective/tree/master/ext/action_helpers
[2] https://github.com/hashicorp/go-plugin

-- 
R.I.Pienaar / www.devco.net / @ripienaar

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"mcollective-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mcollective-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to