summaryrefslogtreecommitdiffstats
path: root/modules/tozt/manifests/tick.pp
blob: cc21c557ca4f694c42ed950ef04c31cdc7bb5a2d (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
class tozt::tick {
  include tick::server

  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';
  }
}