From 64048497cfe9162634f2a30520a5e5cacee06e54 Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Thu, 2 Sep 2021 09:28:36 -0700 Subject: [PATCH 1/3] docs: fixed numbering of license bullets and corrected indent --- website/content/docs/nia/enterprise/license.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/docs/nia/enterprise/license.mdx b/website/content/docs/nia/enterprise/license.mdx index 91fb1ea9a4..60acfc8216 100644 --- a/website/content/docs/nia/enterprise/license.mdx +++ b/website/content/docs/nia/enterprise/license.mdx @@ -27,13 +27,13 @@ Choose one of the following methods (in order of precedence) to set the license: export CONSUL_LICENSE= ``` -2. Set the `CONSUL_LICENSE_PATH` environment variable to the path of the file containing the license. +1. Set the `CONSUL_LICENSE_PATH` environment variable to the path of the file containing the license. ```shell-session export CONSUL_LICENSE_PATH=// ``` -3. Configure the [`license_path`](/docs/nia/configuration#license_path) option in the configuration file to point to the file containing the license. +1. Configure the [`license_path`](/docs/nia/configuration#license_path) option in the configuration file to point to the file containing the license. ```hcl license_path = "//" From 9d008f32387640f25b70399b351d9f51c943ae06 Mon Sep 17 00:00:00 2001 From: mrspanishviking Date: Thu, 2 Sep 2021 11:24:21 -0700 Subject: [PATCH 2/3] Update website/content/docs/nia/enterprise/license.mdx Co-authored-by: Blake Covarrubias --- website/content/docs/nia/enterprise/license.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/content/docs/nia/enterprise/license.mdx b/website/content/docs/nia/enterprise/license.mdx index 60acfc8216..99f02a6019 100644 --- a/website/content/docs/nia/enterprise/license.mdx +++ b/website/content/docs/nia/enterprise/license.mdx @@ -29,9 +29,9 @@ export CONSUL_LICENSE= 1. Set the `CONSUL_LICENSE_PATH` environment variable to the path of the file containing the license. -```shell-session -export CONSUL_LICENSE_PATH=// -``` + ```shell-session + export CONSUL_LICENSE_PATH=// + ``` 1. Configure the [`license_path`](/docs/nia/configuration#license_path) option in the configuration file to point to the file containing the license. From b3fbc3a621ca30950b43319a8b38dfcbfbdf6f32 Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Thu, 2 Sep 2021 11:25:49 -0700 Subject: [PATCH 3/3] docs: indenting pr web dev guidance and Blake --- .../content/docs/nia/enterprise/license.mdx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/website/content/docs/nia/enterprise/license.mdx b/website/content/docs/nia/enterprise/license.mdx index 99f02a6019..ba786c3284 100644 --- a/website/content/docs/nia/enterprise/license.mdx +++ b/website/content/docs/nia/enterprise/license.mdx @@ -23,21 +23,21 @@ Choose one of the following methods (in order of precedence) to set the license: 1. Set the `CONSUL_LICENSE` environment variable to the license string. -```shell-session -export CONSUL_LICENSE= -``` + ```shell-session + export CONSUL_LICENSE= + ``` 1. Set the `CONSUL_LICENSE_PATH` environment variable to the path of the file containing the license. - ```shell-session - export CONSUL_LICENSE_PATH=// - ``` + ```shell-session + export CONSUL_LICENSE_PATH=// + ``` 1. Configure the [`license_path`](/docs/nia/configuration#license_path) option in the configuration file to point to the file containing the license. -```hcl -license_path = "//" -``` + ```hcl + license_path = "//" + ``` ~> **Note**: the [options to set the license and the order of precedence](/docs/enterprise/license/overview#binaries-without-built-in-licenses) are the same as Consul Enterprise server agents. Visit the [Enterprise License Tutorial](https://learn.hashicorp.com/tutorials/nomad/hashicorp-enterprise-license?in=consul/enterprise) for detailed steps on how to install the license key.