Compare commits
5 Commits
1a98fcd265
...
aee866d74d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aee866d74d | ||
|
|
e56945b959 | ||
|
|
cb4a10a00a | ||
| 5325accc03 | |||
|
|
b991426eb5 |
@@ -344,7 +344,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
|
||||
249
|
||||
250
|
||||
251
|
||||
252</pre>
|
||||
252
|
||||
253
|
||||
254
|
||||
255
|
||||
256
|
||||
257
|
||||
258
|
||||
259
|
||||
260
|
||||
261
|
||||
262</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 8</span>
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user