Fix incorrect file names in icinga2-setup-agent.

Refs #6367
This commit is contained in:
Gunnar Beutner 2014-05-31 11:59:00 +02:00
parent 32e6e6ff04
commit a59687312e
1 changed files with 3 additions and 3 deletions

View File

@ -149,19 +149,19 @@ object Zone ZoneName {
ZONES
if [ "$upstream_connect" = "y" ]; then
cat >>$ICINGA2CONFIG/features-available/api.conf <<ZONES
cat >>$ICINGA2CONFIG/zones.conf <<ZONES
parent = "$upstream_name"
ZONES
fi
cat >>$ICINGA2CONFIG/features-available/api.conf <<ZONES
cat >>$ICINGA2CONFIG/zones.conf <<ZONES
endpoints = [ NodeName ]
}
ZONES
if [ "$upstream_connect" = "y" ]; then
cat >>$ICINGA2CONFIG/features-available/api.conf <<ZONES
cat >>$ICINGA2CONFIG/zones.conf <<ZONES
object Endpoint "$upstream_name" {
host = "$upstream_host"
port = "$upstream_port"