edited README and fixed template

This commit is contained in:
Arne Teuke
2017-07-27 13:46:46 +01:00
parent 26e2220ec9
commit 25a31ffc1b
4 changed files with 32 additions and 9 deletions

View File

@@ -36,14 +36,14 @@ $ng_hostgroup_register = '1',
$ng_nagios_server = $::cd_nagios::params::ng_nagios_server
$ng_tgt_hostgroup_add = $::cd_nagios::params::ng_tgt_hostgroup_add
$ng_tgt_hostgrp_head_erb = $::cd_nagios::params::ng_tgt_hostgrp_head_erb
$ng_tgt_hostgrp_rule_erb = $::cd_nagios::params::ng_tgt_hostgrp_rule_erb
if $::fqdn == $ng_nagios_server {
concat::fragment { $name:
target => $ng_tgt_hostgroup_add,
content => template($ng_tgt_hostgrp_head_erb),
content => template($ng_tgt_hostgrp_rule_erb),
}
}
}