summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-reporting.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/cloud-config-reporting.txt')
-rw-r--r--doc/examples/cloud-config-reporting.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-reporting.txt b/doc/examples/cloud-config-reporting.txt
new file mode 100644
index 00000000..ee00078f
--- /dev/null
+++ b/doc/examples/cloud-config-reporting.txt
@@ -0,0 +1,17 @@
+#cloud-config
+##
+## The following sets up 2 reporting end points.
+## A 'webhook' and a 'log' type.
+## It also disables the built in default 'log'
+reporting:
+ smtest:
+ type: webhook
+ endpoint: "http://myhost:8000/"
+ consumer_key: "ckey_foo"
+ consumer_secret: "csecret_foo"
+ token_key: "tkey_foo"
+ token_secret: "tkey_foo"
+ smlogger:
+ type: log
+ level: WARN
+ log: null