added requirement for commands to require user first
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|Repo Name| version | Build Status|
|
||||
|---|---|---|---|
|
||||
|`cd_nrpe`| 0.0.1.0 | [](https://jenkins.confdroid.com/job/cd_nrpe/)|
|
||||
|`cd_nrpe`| 0.0.1.1 | [](https://jenkins.confdroid.com/job/cd_nrpe/)|
|
||||
|
||||
### Synopsis
|
||||
NRPE allows monitoring tools like NAGIOS or ICINGA to connect to clients for monitoring purposes.
|
||||
|
||||
@@ -32,6 +32,8 @@ class cd_nrpe::commands::definition_rules (
|
||||
|
||||
if $ne_manage_cmds == true {
|
||||
|
||||
require cd_nrpe::main::user
|
||||
|
||||
# manage the commands.cfg file
|
||||
|
||||
concat { $ne_cmd_file:
|
||||
|
||||
Reference in New Issue
Block a user