3 # Discovery agent for The Marionette Collective
5 # Released under the Apache License, Version 2
7 attr_reader :timeout, :meta
10 config = Config.instance.pluginconf
13 @meta = {:license => "Apache License, Version 2",
14 :author => "R.I.Pienaar <rip@devco.net>",
16 :name => "Discovery Agent",
17 :version => MCollective.version,
18 :url => "http://www.marionette-collective.org",
19 :description => "MCollective Discovery Agent"}
22 def handlemsg(msg, stomp)
23 reply = "unknown request"
30 reply = "Unknown Request: #{msg[:body]}"