Fix node wizard ignoring local zone name

fixes #9782
This commit is contained in:
Michael Friedrich 2015-08-03 16:23:59 +02:00 committed by Gunnar Beutner
parent e1b9d82896
commit 3b63788d17
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ int NodeUtility::GenerateNodeIcingaConfig(const std::vector<std::string>& endpoi
Array::Ptr my_zone_members = new Array();
my_zone_members->Add(nodename);
my_zone->Set("__name", nodename);
my_zone->Set("__name", zonename);
my_zone->Set("__type", "Zone");
my_zone->Set("parent", master_zone_name); //set the master zone as parent
my_zone->Set("//this is the local node", nodename);