From c7b80fc8e4c38b4809d85453ce6df70587823367 Mon Sep 17 00:00:00 2001 From: Patrik Holmqvist Date: Fri, 17 Jan 2025 15:15:17 +0100 Subject: [PATCH] Try moving the config --- .../etc/puppet/modules/net/manifests/nrpe.pp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/global/overlay/etc/puppet/modules/net/manifests/nrpe.pp b/global/overlay/etc/puppet/modules/net/manifests/nrpe.pp index 765ac7d..11b9849 100644 --- a/global/overlay/etc/puppet/modules/net/manifests/nrpe.pp +++ b/global/overlay/etc/puppet/modules/net/manifests/nrpe.pp @@ -18,11 +18,12 @@ class net::nrpe { 'nrpe_check_var', 'nrpe_check_zombie_procs', ] - } - nagioscfg::service {'check_baas2-restore-status': - host_name => ['baas2-restoretest-prod-1.sunet.se'], - check_command => "check_command => 'check_nrpe_1arg!check_baas2-restore-status',", - description => 'Validates that baas2 restores are working as intended', - contact_groups => ['alerts'] + + nagioscfg::service {'check_baas2-restore-status': + host_name => ['baas2-restoretest-prod-1.sunet.se'], + check_command => "check_command => 'check_nrpe_1arg!check_baas2-restore-status',", + description => 'Validates that baas2 restores are working as intended', + contact_groups => ['alerts'] + } } }