diff options
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 |