File: cloud-config-reporting.txt

package info (click to toggle)
cloud-init 22.4.2-1%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,088 kB
  • sloc: python: 108,898; sh: 4,091; makefile: 147; xml: 22
file content (15 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#cloud-config
##
## The following sets up 2 reporting end points.
## A 'webhook' and a 'log' type.
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