From 9dd2462544cb162ff831188eafab004080855447 Mon Sep 17 00:00:00 2001 From: DeDe Morton Date: Thu, 12 Nov 2020 17:28:23 -0800 Subject: [PATCH] Fix problems found during testing (#22562) (#22577) --- x-pack/elastic-agent/docs/install-elastic-agent.asciidoc | 9 ++++++++- x-pack/elastic-agent/docs/tab-widgets/install.asciidoc | 9 +-------- .../elastic-agent/docs/uninstall-elastic-agent.asciidoc | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/x-pack/elastic-agent/docs/install-elastic-agent.asciidoc b/x-pack/elastic-agent/docs/install-elastic-agent.asciidoc index 44db05c5180..ac9f641be21 100644 --- a/x-pack/elastic-agent/docs/install-elastic-agent.asciidoc +++ b/x-pack/elastic-agent/docs/install-elastic-agent.asciidoc @@ -44,10 +44,17 @@ include::{beats-repo-dir}/x-pack/elastic-agent/docs/tab-widgets/install-widget.a -- +Don't have a {fleet} enrollment key? Read the +{ingest-guide}/ingest-management-getting-started.html[Quick start guide] to +learn how to generate one. + +Because {agent} is installed as an auto-starting service, it will restart +automatically if the system is rebooted. + To confirm that {agent} is installed and running, go to the **Agents** tab in {fleet}. -If you run into problems, see <>. +If you run into problems, see <>. [discrete] [[installation-layout]] diff --git a/x-pack/elastic-agent/docs/tab-widgets/install.asciidoc b/x-pack/elastic-agent/docs/tab-widgets/install.asciidoc index 7d901557bf3..2661b4dacf8 100644 --- a/x-pack/elastic-agent/docs/tab-widgets/install.asciidoc +++ b/x-pack/elastic-agent/docs/tab-widgets/install.asciidoc @@ -18,8 +18,6 @@ you don't have systemd, run `sudo service elastic-agent start`. include::install.asciidoc[tag=where-description] -TIP: {agent} will restart automatically if the system is rebooted. - // end::deb[] // tag::rpm[] @@ -36,8 +34,6 @@ systemctl start elastic-agent these systems, you can manage {agent} by using the usual systemd commands. If you don't have systemd, run `sudo service elastic-agent start`. -TIP: {agent} will restart automatically if the system is rebooted. - // end::rpm[] // tag::mac[] @@ -91,9 +87,6 @@ Omit `-f` to run an interactive installation. // tag::where-description[] `KIBANA_URL` is the {kib} URL where {fleet} is running, and -`ENROLLMENT_KEY` is the enrollment token acquired from {fleet}. Don't have a -{fleet} enrollment key? Read the -{ingest-guide}/ingest-management-getting-started.html[Quick start guide] to -learn how to generate one. +`ENROLLMENT_KEY` is the enrollment token acquired from {fleet}. // end::where-description[] \ No newline at end of file diff --git a/x-pack/elastic-agent/docs/uninstall-elastic-agent.asciidoc b/x-pack/elastic-agent/docs/uninstall-elastic-agent.asciidoc index 4d5db46e1a0..0f884614709 100644 --- a/x-pack/elastic-agent/docs/uninstall-elastic-agent.asciidoc +++ b/x-pack/elastic-agent/docs/uninstall-elastic-agent.asciidoc @@ -17,7 +17,7 @@ Follow the prompts to confirm that you want to uninstall {agent}. The command stops and uninstalls any managed programs, such as {beats} and {elastic-endpoint}, before it stops and uninstalls {agent}. -If you run into problems, see <>. +If you run into problems, see <>. // Add Javascript and CSS for tabbed panels include::tab-widgets/code.asciidoc[]