Fix the contact_groups used for hosts
Change-Id: Ie014da3b91c62ddddd24289252df5fdddfeca662 Closes-bug: #1650543
This commit is contained in:
parent
a72d1834d6
commit
d51e16ffe6
|
@ -37,7 +37,7 @@ define nagios::host (
|
|||
|
||||
if is_array($properties['contact_groups']){
|
||||
$opts['contact_groups'] = join(sort($properties['contact_groups']), ',')
|
||||
}else{
|
||||
}elsif $properties['contact_groups'] {
|
||||
$opts['contact_groups'] = $properties['contact_groups']
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue