Updated mcollective.init according to OSCI-658
[packages/precise/mcollective.git] / plugins / mcollective / registration / agentlist.rb
diff --git a/plugins/mcollective/registration/agentlist.rb b/plugins/mcollective/registration/agentlist.rb
new file mode 100644 (file)
index 0000000..614464a
--- /dev/null
@@ -0,0 +1,10 @@
+module MCollective
+  module Registration
+    # A registration plugin that simply sends in the list of agents we have
+    class Agentlist<Base
+      def body
+        Agents.agentlist
+      end
+    end
+  end
+end