Updated mcollective.init according to OSCI-658
[packages/precise/mcollective.git] / spec / unit / generators / snippets / data_ddl
diff --git a/spec/unit/generators/snippets/data_ddl b/spec/unit/generators/snippets/data_ddl
new file mode 100644 (file)
index 0000000..a37ec10
--- /dev/null
@@ -0,0 +1,20 @@
+metadata :name => "%FULLNANE%",
+         :description => "%DESCRIPTION%",
+         :author => "%AUTHOR%",
+         :license => "%LICENSE%",
+         :version => "%VERSION%",
+         :url => "%URL%",
+         :timeout => %TIMEOUT%
+
+dataquery :description => "Query information" do
+  input :query,
+        :prompt => "%PROMP%",
+        :description => "%DESCRIPTION%",
+        :type => %TYPE%,
+        :validation => %VALIDATION%,
+        :maxlength => %MAXLENGTH%
+
+  output :output,
+         :description => "%DESCRIPTION%",
+         :display_as => "%DESCRIPTION%"
+end