Documentation: Fix service dependency example.

Fixes #5243
This commit is contained in:
Michael Friedrich 2013-11-29 09:42:55 +01:00
parent cac4167e79
commit 1b6637b981
1 changed files with 6 additions and 4 deletions

View File

@ -242,7 +242,7 @@ router's firewall.
templates = "generic-service",
check_command = "ping4"
}
macros = {
address = "192.168.1.1",
},
@ -251,10 +251,12 @@ router's firewall.
object Host "google-dns" {
services["ping4"] = {
templates = "generic-service",
check_command = "ping4"
service_dependencies = { "dsl-router", "ping4" }
check_command = "ping4",
service_dependencies = [
{ host = "dsl-router", service = "ping4" }
]
}
macros = {
address = "8.8.8.8",
},