]> granicus.if.org Git - icinga2/blobdiff - doc/23-migrating-from-icinga-1x.md
Merge pull request #6974 from Icinga/feature/copyright-generic
[icinga2] / doc / 23-migrating-from-icinga-1x.md
index 4dd6e8397d5da07176100cdc6cdedf3e90a7e437..4583b16062d4381dee2c187ea1c56b952a98ced7 100644 (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"
     }