diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-07-01 22:18:27 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-07-01 22:18:27 -0400 |
commit | da31e00b8b3cb5b7842019ef76e8cbcdec595622 (patch) | |
tree | 71c9ed837ca72ef4baccf8bff349070a8802056a /modules/prometheus/templates | |
parent | e86624d2d1fbe9c7cd7fe431af0cda0b8c9607d9 (diff) | |
download | puppet-tozt-da31e00b8b3cb5b7842019ef76e8cbcdec595622.tar.gz puppet-tozt-da31e00b8b3cb5b7842019ef76e8cbcdec595622.zip |
actually render the template
Diffstat (limited to 'modules/prometheus/templates')
-rw-r--r-- | modules/prometheus/templates/prometheus.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/prometheus/templates/prometheus.yml b/modules/prometheus/templates/prometheus.yml new file mode 100644 index 0000000..c87b181 --- /dev/null +++ b/modules/prometheus/templates/prometheus.yml @@ -0,0 +1,10 @@ +global: + scrape_interval: 10s + +scrape_configs: +- job_name: telegraf + static_configs: + - targets: +<% @vpn_ips.each do |_, ip| -%> + - "<%= @ip %>:9273" +<% end -%> |