Update mcollective.init according to OSCI-855
[packages/precise/mcollective.git] / website / messages / PLMC22.md
1 ---
2 layout: default
3 title: Message detail for PLMC22
4 toc: false
5 ---
6
7 Example Message
8 ---------------
9
10     Cannot determine what entity input 'port' belongs to
11
12 Additional Information
13 ----------------------
14
15 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:
16
17     action "get_data", :description => "Get data from a data plugin" do
18         input :source,
19               :prompt      => "Data Source",
20               :description => "The data plugin to retrieve information from",
21               :type        => :string,
22               :validation  => '^\w+$',
23               :optional    => false,
24               :maxlength   => 50
25     end
26
27 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