mirror of https://github.com/Icinga/icinga2.git
node setup: indent accept_config and accept_commands
fixes #9450 Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
parent
197ae9541e
commit
7cd0077ab5
|
@ -463,6 +463,9 @@ int NodeSetupCommand::SetupNode(const boost::program_options::variables_map& vm,
|
||||||
if (tokens.size() > 1)
|
if (tokens.size() > 1)
|
||||||
fp << " bind_port = " << tokens[1] << "\n";
|
fp << " bind_port = " << tokens[1] << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fp << "\n";
|
||||||
|
|
||||||
if (vm.count("accept-config"))
|
if (vm.count("accept-config"))
|
||||||
fp << " accept_config = true\n";
|
fp << " accept_config = true\n";
|
||||||
else
|
else
|
||||||
|
|
|
@ -394,6 +394,7 @@ wizard_ticket:
|
||||||
<< " cert_path = SysconfDir + \"/icinga2/pki/\" + NodeName + \".crt\"\n"
|
<< " cert_path = SysconfDir + \"/icinga2/pki/\" + NodeName + \".crt\"\n"
|
||||||
<< " key_path = SysconfDir + \"/icinga2/pki/\" + NodeName + \".key\"\n"
|
<< " key_path = SysconfDir + \"/icinga2/pki/\" + NodeName + \".key\"\n"
|
||||||
<< " ca_path = SysconfDir + \"/icinga2/pki/ca.crt\"\n"
|
<< " ca_path = SysconfDir + \"/icinga2/pki/ca.crt\"\n"
|
||||||
|
<< "\n"
|
||||||
<< " accept_config = " << accept_config << "\n"
|
<< " accept_config = " << accept_config << "\n"
|
||||||
<< " accept_commands = " << accept_commands << "\n";
|
<< " accept_commands = " << accept_commands << "\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue