summaryrefslogtreecommitdiffstats
path: root/modules/tozt/manifests/tick.pp
blob: 8eedf267084624c30ecfc84286bacfa9f934f6c6 (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
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';
    # TODO: disk and network usage are a bit more all over the place (and it's
    # not super clear that these alerts are even correct), need to figure out a
    # better way to express these alerts
    # "net":
    #   source => 'puppet:///modules/tozt/kapacitor/net.tick';
    # "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';
  }

  nginx::site {
    "influxdb-tls":
      source => 'puppet:///modules/tozt/nginx/influxdb-tls.conf',
      require => Class['certbot'];
    "influxdb":
      source => 'puppet:///modules/tozt/nginx/influxdb.conf';
  }
}