ITRS-Group / monitor-merlin

Module for Effortless Redundancy and Loadbalancing In Naemon
https://itrs-group.github.io/monitor-merlin/
GNU General Public License v2.0
22 stars 14 forks source link

Correctly tokenize ipc_blocked_hostgroups #125

Closed jacobbaungard closed 2 years ago

jacobbaungard commented 2 years ago

The logic for tokenizing ipc_blocked_hostgroups where broken due to adding the full input value, rather than the token to the objectlist. This caused the ipc_blocked_hostgroups functionality to be broken when specifying multiple hostgroups.

Add an additional testcase where we have multiple hostgroups defiend.

Signed-off-by: Jacob Hansen jhansen@op5.com