added and linked add_contactgroups_rules
This commit is contained in:
@@ -31,14 +31,14 @@ $ng_contactgroup_register = '1',
|
||||
|
||||
$ng_nagios_server = $::cd_nagios::params::ng_nagios_server
|
||||
$ng_tgt_contactgroup_add = $::cd_nagios::params::ng_tgt_contactgroup_add
|
||||
$ng_contacts_rule_erb = $::cd_nagios::params::ng_contacts_rule_erb
|
||||
$ng_cntctgrps_rule_erb = $::cd_nagios::params::ng_cntctgrps_rule_erb
|
||||
|
||||
|
||||
if $::fqdn == $ng_nagios_server {
|
||||
|
||||
concat::fragment { $name:
|
||||
target => $ng_tgt_contactgroup_add,
|
||||
content => template($ng_contacts_rule_erb),
|
||||
content => template($ng_cntctgrps_rule_erb),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user