From 5667fec41053935a96fe098fd0d79cad354232fa Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 11 Mar 2025 00:45:20 -0400 Subject: [PATCH] modules: prometheus: Remove erroneous tmpl extension --- ...porter.service.tmpl => prometheus-postgres-exporter.service} | 0 modules/prometheus/main.mcl | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename modules/prometheus/files/{prometheus-postgres-exporter.service.tmpl => prometheus-postgres-exporter.service} (100%) diff --git a/modules/prometheus/files/prometheus-postgres-exporter.service.tmpl b/modules/prometheus/files/prometheus-postgres-exporter.service similarity index 100% rename from modules/prometheus/files/prometheus-postgres-exporter.service.tmpl rename to modules/prometheus/files/prometheus-postgres-exporter.service diff --git a/modules/prometheus/main.mcl b/modules/prometheus/main.mcl index beb1036a..c2aafea3 100644 --- a/modules/prometheus/main.mcl +++ b/modules/prometheus/main.mcl @@ -151,7 +151,7 @@ class postgresql_base() { # systemd service template file to allow for multiple of these file "/etc/systemd/system/prometheus-postgres-exporter@.service" { state => $const.res.file.state.exists, - content => deploy.readfile("/files/prometheus-postgres-exporter.service.tmpl"), + content => deploy.readfile("/files/prometheus-postgres-exporter.service"), owner => "root", group => "root", mode => "u=rw,go=r",