mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Improve message formatting for the 'icinga2 node wizard' command
refs #5450
This commit is contained in:
parent
a4684d1bfd
commit
8d05fc99c9
@ -79,7 +79,7 @@ int NodeWizardCommand::Run(const boost::program_options::variables_map& vm,
|
|||||||
<< "\n"
|
<< "\n"
|
||||||
<< "We'll guide you through all required configuration details.\n"
|
<< "We'll guide you through all required configuration details.\n"
|
||||||
<< "\n"
|
<< "\n"
|
||||||
<< "\n\n" << ConsoleColorTag(Console_Normal);
|
<< ConsoleColorTag(Console_Normal);
|
||||||
|
|
||||||
//TODO: Add sort of bash completion to path input?
|
//TODO: Add sort of bash completion to path input?
|
||||||
|
|
||||||
@ -368,7 +368,7 @@ wizard_ticket:
|
|||||||
String bind_port = answer;
|
String bind_port = answer;
|
||||||
bind_port = bind_port.Trim();
|
bind_port = bind_port.Trim();
|
||||||
|
|
||||||
std::cout << ConsoleColorTag(Console_Bold)
|
std::cout << ConsoleColorTag(Console_Bold) << "\n"
|
||||||
<< "Accept config from master?" << ConsoleColorTag(Console_Normal)
|
<< "Accept config from master?" << ConsoleColorTag(Console_Normal)
|
||||||
<< " [y/N]: ";
|
<< " [y/N]: ";
|
||||||
std::getline(std::cin, answer);
|
std::getline(std::cin, answer);
|
||||||
@ -393,7 +393,7 @@ wizard_ticket:
|
|||||||
disable.push_back("notification");
|
disable.push_back("notification");
|
||||||
FeatureUtility::DisableFeatures(disable);
|
FeatureUtility::DisableFeatures(disable);
|
||||||
|
|
||||||
Log(LogInformation, "cli", "Enabling the Apilistener feature.");
|
Log(LogInformation, "cli", "Enabling the ApiListener feature.");
|
||||||
|
|
||||||
std::vector<std::string> enable;
|
std::vector<std::string> enable;
|
||||||
enable.push_back("api");
|
enable.push_back("api");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user