added requirement for commands to require user first

This commit is contained in:
Arne Teuke
2017-07-30 21:21:12 +01:00
parent 9989233bea
commit 91e3b74b0f
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
|Repo Name| version | Build Status| |Repo Name| version | Build Status|
|---|---|---|---| |---|---|---|---|
|`cd_nrpe`| 0.0.1.0 | [![Build Status](https://jenkins.confdroid.com/buildStatus/icon?job=cd_nrpe)](https://jenkins.confdroid.com/job/cd_nrpe/)| |`cd_nrpe`| 0.0.1.1 | [![Build Status](https://jenkins.confdroid.com/buildStatus/icon?job=cd_nrpe)](https://jenkins.confdroid.com/job/cd_nrpe/)|
### Synopsis ### Synopsis
NRPE allows monitoring tools like NAGIOS or ICINGA to connect to clients for monitoring purposes. NRPE allows monitoring tools like NAGIOS or ICINGA to connect to clients for monitoring purposes.

View File

@@ -32,6 +32,8 @@ class cd_nrpe::commands::definition_rules (
if $ne_manage_cmds == true { if $ne_manage_cmds == true {
require cd_nrpe::main::user
# manage the commands.cfg file # manage the commands.cfg file
concat { $ne_cmd_file: concat { $ne_cmd_file: