OP#429 initial commit after fork
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
## cd_nrpe::commands::definitions.pp
|
||||
# Module name: cd_nrpe
|
||||
# Author: Arne Teuke (arne_teuke@ConfDroid.com)
|
||||
## confdroid_nrpe::commands::definitions.pp
|
||||
# Module name: confdroid_nrpe
|
||||
# Author: 12ww1160 (12ww1160@ConfDroid.com)
|
||||
# @summary Populate command definitions through external puppet rules, i.e.
|
||||
# from other modules.
|
||||
# @param [String] ne_check_cmd Specify the check_command to use.
|
||||
@@ -13,7 +13,7 @@
|
||||
# @param [String] ne_cmd_comment Specify an optional comment for your command
|
||||
# definition
|
||||
###############################################################################
|
||||
define cd_nrpe::commands::definitions (
|
||||
define confdroid_nrpe::commands::definitions (
|
||||
|
||||
Optional[String] $ne_check_cmd = undef,
|
||||
String $ne_cmd_path = '/usr/lib64/nagios/plugins/',
|
||||
@@ -21,9 +21,9 @@ define cd_nrpe::commands::definitions (
|
||||
String $ne_cmd_comment = '',
|
||||
|
||||
) {
|
||||
$ne_cmd_file = $cd_nrpe::params::ne_cmd_file
|
||||
$ne_cmd_rule_erb = $cd_nrpe::params::ne_cmd_rule_erb
|
||||
$ne_manage_cmds = $cd_nrpe::params::ne_manage_cmds
|
||||
$ne_cmd_file = $confdroid_nrpe::params::ne_cmd_file
|
||||
$ne_cmd_rule_erb = $confdroid_nrpe::params::ne_cmd_rule_erb
|
||||
$ne_manage_cmds = $confdroid_nrpe::params::ne_manage_cmds
|
||||
|
||||
if $ne_manage_cmds == true {
|
||||
concat::fragment { $name:
|
||||
|
||||
Reference in New Issue
Block a user