-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.yml.sample
34 lines (34 loc) · 979 Bytes
/
config.yml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
:aws:
# only region is required when using iam which is recommended
:access_key_id: 'AWS Access Key'
:secret_access_key: 'AWS Secret Access Key'
:region: 'us-west-2'
:sqs:
:queue: 'https://sqs.us-west-2.amazonaws.com/1234/cloudwatch-events'
:sensu:
:url: 'http://sensu.example.com:4567'
:enable: true
:chef:
:url: 'https://chef.example.com/organizations/example'
:client: 'somebody'
:key: '/path/to/client.pem'
:slack:
:webhook_url: 'https://hooks.slack.com/services/XXXXXXXX/YYYYYYY/ZZZZZZZZZZZZZZZZ'
:channel: '#notifications'
:username: 'aws-cleaner'
:icon_emoji: ':ghost:'
:enable: true
:webhooks:
example-webhook:
:url: 'http://localhost/nodes/{fqdn}'
:method: GET
:template_variables:
:variable: 'fqdn'
:method: 'get_chef_fqdn'
:chat:
:enable: true
:message: 'Did something to node {node}'
:variable: 'node'
:method: 'get_chef_node_name'
:log:
:file: '/path/to/aws-cleaner-log-file.log'