summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-reporting.txt
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-08-07 14:44:00 -0500
committerScott Moser <smoser@ubuntu.com>2015-08-07 14:44:00 -0500
commit95bfe5d5150e2bf0a26dd1b97578c4fd04152365 (patch)
tree44a6a76e23f390cc125442da8a5acb74ad062343 /doc/examples/cloud-config-reporting.txt
parent71c8fedcd581d8c4aa937d270f5bbd2e5af99e26 (diff)
downloadvyos-cloud-init-95bfe5d5150e2bf0a26dd1b97578c4fd04152365.tar.gz
vyos-cloud-init-95bfe5d5150e2bf0a26dd1b97578c4fd04152365.zip
add doc, remove some debug / print statements.
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