Merge branch 'jenkins-build-239' into 'master'

Auto-merge for build 239

See merge request puppet/confdroid_nagios!4
This commit is contained in:
Jenkins
2026-09-07 12:13:16 +00:00
2 changed files with 31 additions and 1 deletions

View File

@@ -324,7 +324,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
229
230
231
232</pre>
232
233
234
235
236
237
238
239
240
241
242</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 8</span>
@@ -552,6 +562,16 @@ class confdroid_nagios::nagios::objects::commands (
mode =&gt; &#39;0640&#39;,
target =&gt; $ng_target_command,
}
@@nagios_command { &#39;check_alloy&#39;:
ensure =&gt; present,
command_name =&gt; &#39;check_alloy&#39;,
command_line =&gt; &#39;$USER1$/check_procs -c $ARG1$ -C $ARG2$&#39;,
owner =&gt; $ng_user,
group =&gt; $ng_user,
mode =&gt; &#39;0640&#39;,
target =&gt; $ng_target_command,
}
}
}</pre>
</td>

View File

@@ -228,5 +228,15 @@ class confdroid_nagios::nagios::objects::commands (
mode => '0640',
target => $ng_target_command,
}
@@nagios_command { 'check_alloy':
ensure => present,
command_name => 'check_alloy',
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
owner => $ng_user,
group => $ng_user,
mode => '0640',
target => $ng_target_command,
}
}
}