Fix the contact_groups used for hosts
Change-Id: Ie014da3b91c62ddddd24289252df5fdddfeca662 Closes-bug: #1650543
This commit is contained in:
@@ -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']
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user