From 4d84f7fccd72d7d8e4d4030b8e7407c70b195325 Mon Sep 17 00:00:00 2001 From: Arnaud SINAYS Date: Mon, 5 Sep 2022 11:53:13 +0200 Subject: [PATCH] prometheus config: set file_sd_config.d mode Signed-off-by: Arnaud SINAYS --- manifests/config.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/config.pp b/manifests/config.pp index c2eebeab4..7942bf965 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -191,6 +191,7 @@ file { "${prometheus::config_dir}/file_sd_config.d": ensure => directory, group => $prometheus::server::group, + mode => $prometheus::config_mode, purge => $prometheus::purge_config_dir, recurse => true, notify => Class['prometheus::service_reload'], # After purging, a reload is needed