diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-07-03 03:14:04 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-07-03 03:14:04 -0400 |
commit | bd238d32a0d29978836985ed192bf06b438bfd91 (patch) | |
tree | f9bd81d7042c6c29d29ff133ae819165bad836d6 /modules/tozt/manifests/prometheus.pp | |
parent | 39b5bf2489534f41c86cd5ff2872f21e2e0a7f08 (diff) | |
download | puppet-tozt-bd238d32a0d29978836985ed192bf06b438bfd91.tar.gz puppet-tozt-bd238d32a0d29978836985ed192bf06b438bfd91.zip |
enable smtp for grafana
Diffstat (limited to 'modules/tozt/manifests/prometheus.pp')
-rw-r--r-- | modules/tozt/manifests/prometheus.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/tozt/manifests/prometheus.pp b/modules/tozt/manifests/prometheus.pp index 8120cdc..13bc406 100644 --- a/modules/tozt/manifests/prometheus.pp +++ b/modules/tozt/manifests/prometheus.pp @@ -17,8 +17,10 @@ class tozt::prometheus { source => 'puppet:///modules/tozt/prometheus-override.conf'; } + $smtp_password = secret::value("grafana_smtp_password") + file { "/etc/grafana.ini": - source => "puppet:///modules/tozt/grafana.ini", + content => template("tozt/grafana.ini"), require => Package["grafana"]; } |