Updated mcollective.init according to OSCI-658
[packages/precise/mcollective.git] / website / messages / PLMC22.md
diff --git a/website/messages/PLMC22.md b/website/messages/PLMC22.md
new file mode 100644 (file)
index 0000000..d786a52
--- /dev/null
@@ -0,0 +1,30 @@
+---
+layout: default
+title: Message detail for PLMC22
+toc: false
+---
+
+Detail for Marionette Collective message PLMC22
+===========================================
+
+Example Message
+---------------
+
+    Cannot determine what entity input 'port' belongs to
+
+Additional Information
+----------------------
+
+When writing a DDL you declare inputs into plugins using the input keyword.  Each input has to belong to a wrapping entity like in the example below:
+
+    action "get_data", :description => "Get data from a data plugin" do
+        input :source,
+              :prompt      => "Data Source",
+              :description => "The data plugin to retrieve information from",
+              :type        => :string,
+              :validation  => '^\w+$',
+              :optional    => false,
+              :maxlength   => 50
+    end
+
+Here the input belongs to the action entity "get_data", this error indicates that an input were found without it belonging to any specific entity