Fix the contact_groups used for hosts
Change-Id: Ie014da3b91c62ddddd24289252df5fdddfeca662
Closes-bug: #1650543
(cherry picked from commit d51e16ffe6
)
This commit is contained in:
parent
95b59ea27e
commit
0040e06868
|
@ -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