blob: 46ef9ce4400ebfc1424e0c03bcaa696689f40d2a (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
|
class tozt::tick {
include tick::server
tick::server::kapacitor::alert {
"deadman":
source => 'puppet:///modules/tozt/kapacitor/deadman.tick';
"cpu":
source => 'puppet:///modules/tozt/kapacitor/cpu.tick';
"net":
source => 'puppet:///modules/tozt/kapacitor/net.tick';
# TODO: disk usage is a bit more all over the place, need to figure out a
# better way to express this alert
# "disk":
# source => 'puppet:///modules/tozt/kapacitor/disk.tick';
"certbot":
source => 'puppet:///modules/tozt/kapacitor/certbot.tick';
"tarsnap":
source => 'puppet:///modules/tozt/kapacitor/tarsnap.tick';
"duplicati":
source => 'puppet:///modules/tozt/kapacitor/duplicati.tick';
"partofme-data":
source => 'puppet:///modules/tozt/kapacitor/partofme-data.tick';
}
secret {
"/media/persistent/influxdb.htpasswd":
source => 'influxdb_htpasswd',
owner => 'http';
"/media/persistent/chronograf.htpasswd":
source => 'chronograf_htpasswd',
owner => 'http';
}
nginx::site {
"influxdb-tls":
source => 'puppet:///modules/tozt/nginx/influxdb-tls.conf',
require => Class['certbot'];
"influxdb":
source => 'puppet:///modules/tozt/nginx/influxdb.conf';
"chronograf-tls":
source => 'puppet:///modules/tozt/nginx/chronograf-tls.conf',
require => Class['certbot'];
"chronograf":
source => 'puppet:///modules/tozt/nginx/chronograf.conf';
}
}
|