summaryrefslogtreecommitdiffstats
path: root/modules/tozt/manifests/munin.pp
blob: 52cf24018159e505d4f697b6890b43c4f074e098 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class tozt::munin {
  include munin

  secret { "/media/persistent/munin.htpasswd":
    source => "munin",
    owner => 'http',
    require => [
      Class["tozt::persistent"],
      Package['nginx'],
    ];
  }

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