From 5325accc03d478d66c0fad0177217a27cd0061d9 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Mon, 7 Sep 2026 16:31:49 +0200 Subject: [PATCH 1/2] OP#672 add check_puppet command --- manifests/nagios/objects/commands.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/manifests/nagios/objects/commands.pp b/manifests/nagios/objects/commands.pp index 744ff5c..4a5dd6c 100644 --- a/manifests/nagios/objects/commands.pp +++ b/manifests/nagios/objects/commands.pp @@ -248,5 +248,15 @@ class confdroid_nagios::nagios::objects::commands ( mode => '0640', target => $ng_target_command, } + + @@nagios_command { 'check_puppet': + ensure => present, + command_name => 'check_puppet', + command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$', + owner => $ng_user, + group => $ng_user, + mode => '0640', + target => $ng_target_command, + } } } From e56945b9596823fb1bf92e4bafe704fb84f9d325 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Mon, 7 Sep 2026 16:34:13 +0200 Subject: [PATCH 2/2] Recommit for updates in build 242 --- ...A_3Anagios_3A_3Aobjects_3A_3Acommands.html | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html index 9b22291..4031a8c 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html @@ -344,7 +344,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg. 249 250 251 -252 +252 +253 +254 +255 +256 +257 +258 +259 +260 +261 +262
# File 'manifests/nagios/objects/commands.pp', line 8
@@ -592,6 +602,16 @@ class confdroid_nagios::nagios::objects::commands (
       mode         => '0640',
       target       => $ng_target_command,
     }
+
+    @@nagios_command { 'check_puppet':
+      ensure       => present,
+      command_name => 'check_puppet',
+      command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
+      owner        => $ng_user,
+      group        => $ng_user,
+      mode         => '0640',
+      target       => $ng_target_command,
+    }
   }
 }