From e06217bd453ce663285f53eced2be4a41655b1a2 Mon Sep 17 00:00:00 2001 From: Narsing Metpally Date: Tue, 12 Apr 2022 11:34:41 -0600 Subject: [PATCH 1/3] leaking sensitive info so adding no diff --- manifests/blackbox_exporter.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/blackbox_exporter.pp b/manifests/blackbox_exporter.pp index 59175a56..4570ecb8 100644 --- a/manifests/blackbox_exporter.pp +++ b/manifests/blackbox_exporter.pp @@ -120,6 +120,7 @@ owner => 'root', group => $group, mode => $config_mode, + show_diff => false, content => template('prometheus/blackbox_exporter.yaml.erb'), notify => $notify_service, } From b5665183d3763e5a208cb9eed1a62b8128563064 Mon Sep 17 00:00:00 2001 From: Narsing Metpally Date: Tue, 12 Apr 2022 12:02:31 -0600 Subject: [PATCH 2/3] fixing indentation --- manifests/blackbox_exporter.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/blackbox_exporter.pp b/manifests/blackbox_exporter.pp index 4570ecb8..dcac5a0d 100644 --- a/manifests/blackbox_exporter.pp +++ b/manifests/blackbox_exporter.pp @@ -120,7 +120,7 @@ owner => 'root', group => $group, mode => $config_mode, - show_diff => false, + show_diff => false, content => template('prometheus/blackbox_exporter.yaml.erb'), notify => $notify_service, } From 597c534ffc2aee6f834db41c57799d6d77e52519 Mon Sep 17 00:00:00 2001 From: Narsing Metpally Date: Tue, 12 Apr 2022 12:04:04 -0600 Subject: [PATCH 3/3] fixing indentation --- manifests/blackbox_exporter.pp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/manifests/blackbox_exporter.pp b/manifests/blackbox_exporter.pp index dcac5a0d..39d91a60 100644 --- a/manifests/blackbox_exporter.pp +++ b/manifests/blackbox_exporter.pp @@ -116,13 +116,13 @@ $options = "--config.file=${config_file} ${extra_options}" file { $config_file: - ensure => file, - owner => 'root', - group => $group, - mode => $config_mode, - show_diff => false, - content => template('prometheus/blackbox_exporter.yaml.erb'), - notify => $notify_service, + ensure => file, + owner => 'root', + group => $group, + mode => $config_mode, + show_diff => false, + content => template('prometheus/blackbox_exporter.yaml.erb'), + notify => $notify_service, } prometheus::daemon { $service_name: