Update version according to OSCI-856
[packages/precise/mcollective.git] / plugins / mcollective / aggregate / sum.ddl
diff --git a/plugins/mcollective/aggregate/sum.ddl b/plugins/mcollective/aggregate/sum.ddl
new file mode 100644 (file)
index 0000000..f0626de
--- /dev/null
@@ -0,0 +1,33 @@
+metadata  :name        => "Sum",
+          :description => "Determine the total added value of a set of values",
+          :author      => "Pieter Loubser <pieter.loubser@puppetlabs.com>",
+          :license     => "ASL 2.0",
+          :version     => "1.0",
+          :url         => "http://projects.puppetlabs.com/projects/mcollective-plugins/wiki",
+          :timeout     => 5
+
+usage <<-USAGE
+
+  This aggregate plugin will determine the total added value of a set of values.
+
+  DDL Example:
+
+    summarize do
+      aggregate sum(:value)
+    end
+
+  Sample Output:
+
+    host1.example.com
+      Value: 10
+
+    host2.example.com
+      Value: 20
+
+
+   Summary of Value:
+
+      Sum of Value: 30
+
+USAGE
+