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 | |
parent | e86624d2d1fbe9c7cd7fe431af0cda0b8c9607d9 (diff) | |
download | puppet-tozt-da31e00b8b3cb5b7842019ef76e8cbcdec595622.tar.gz puppet-tozt-da31e00b8b3cb5b7842019ef76e8cbcdec595622.zip |
actually render the template
Diffstat (limited to 'modules/prometheus')
-rw-r--r-- | modules/prometheus/manifests/init.pp | 2 | ||||
-rw-r--r-- | modules/prometheus/templates/prometheus.yml (renamed from modules/prometheus/files/prometheus.yml) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/modules/prometheus/manifests/init.pp b/modules/prometheus/manifests/init.pp index a019afc..d69b07b 100644 --- a/modules/prometheus/manifests/init.pp +++ b/modules/prometheus/manifests/init.pp @@ -4,7 +4,7 @@ class prometheus { } file { "/etc/prometheus/prometheus.yml": - source => "puppet:///modules/prometheus/prometheus.yml", + content => template('/prometheus/prometheus.yml'), require => Package['prometheus']; } diff --git a/modules/prometheus/files/prometheus.yml b/modules/prometheus/templates/prometheus.yml index c87b181..c87b181 100644 --- a/modules/prometheus/files/prometheus.yml +++ b/modules/prometheus/templates/prometheus.yml |