summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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';
+ }
}