diff options
Diffstat (limited to 'modules/tozt/manifests/prometheus.pp')
-rw-r--r-- | modules/tozt/manifests/prometheus.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/tozt/manifests/prometheus.pp b/modules/tozt/manifests/prometheus.pp index 05ad53c..84ead88 100644 --- a/modules/tozt/manifests/prometheus.pp +++ b/modules/tozt/manifests/prometheus.pp @@ -54,4 +54,13 @@ class tozt::prometheus { "grafana": source => 'puppet:///modules/tozt/nginx/grafana.conf'; } + + secret { "/media/persistent/grafana.htpasswd": + source => "grafana", + owner => 'http', + require => [ + Class["tozt::persistent"], + Package['nginx'], + ]; + } } |