Fix nested hostgroup example

In Icinga 1.x the list of members was set on the group object, in Icinga 2 the list of groups is set on the member objects.

(cherry picked from commit 8d3c8fd107)
This commit is contained in:
Bas Couwenberg 2019-02-26 08:49:36 +01:00 committed by Michael Friedrich
parent bac6f17eff
commit 32dc61a788
1 changed files with 1 additions and 1 deletions

View File

@ -116,11 +116,11 @@ This can be migrated to Icinga 2 and [using group assign](17-language-reference.
object HostGroup "hg1" {
groups = [ "hg2" ]
assign where host.name in [ "host1", "host2" ]
}
object HostGroup "hg2" {
groups = [ "hg1" ]
assign where host.name == "host3"
}