if (tokens.size() > 1)
fp << " bind_port = " << tokens[1] << "\n";
}
+
+ fp << "\n";
+
if (vm.count("accept-config"))
- fp << "accept_config = true\n";
+ fp << " accept_config = true\n";
else
- fp << "accept_config = false\n";
+ fp << " accept_config = false\n";
if (vm.count("accept-commands"))
- fp << "accept_commands = true\n";
+ fp << " accept_commands = true\n";
else
- fp << "accept_commands = false\n";
+ fp << " accept_commands = false\n";
fp << "\n"
<< " ticket_salt = TicketSalt\n"
<< " cert_path = SysconfDir + \"/icinga2/pki/\" + NodeName + \".crt\"\n"
<< " key_path = SysconfDir + \"/icinga2/pki/\" + NodeName + \".key\"\n"
<< " ca_path = SysconfDir + \"/icinga2/pki/ca.crt\"\n"
+ << "\n"
<< " accept_config = " << accept_config << "\n"
<< " accept_commands = " << accept_commands << "\n";