summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-07-01 22:36:09 -0400
committerJesse Luehrs <doy@tozt.net>2021-07-01 22:36:09 -0400
commit95c8b30870c4e6cf9335880fc439066bb2373fb3 (patch)
tree34b830cd1a6d8eaf37a0b19d7c4a96ca8a3defc4
parent38bef668ab2ad747e5b2c6d6c002eef09050a28c (diff)
downloadpuppet-tozt-95c8b30870c4e6cf9335880fc439066bb2373fb3.tar.gz
puppet-tozt-95c8b30870c4e6cf9335880fc439066bb2373fb3.zip
actually install the nginx config
-rw-r--r--modules/tozt/manifests/prometheus.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/tozt/manifests/prometheus.pp b/modules/tozt/manifests/prometheus.pp
index c35c472..f0454f1 100644
--- a/modules/tozt/manifests/prometheus.pp
+++ b/modules/tozt/manifests/prometheus.pp
@@ -1,3 +1,11 @@
class tozt::prometheus {
include prometheus
+
+ nginx::site {
+ "prometheus-tls":
+ source => 'puppet:///modules/tozt/nginx/prometheus-tls.conf',
+ require => Class['certbot'];
+ "prometheus":
+ source => 'puppet:///modules/tozt/nginx/prometheus.conf';
+ }
}