From a3c3ad345a0b552b26fc3cb4319e448ab9f47139 Mon Sep 17 00:00:00 2001 From: Vivek Sharma Date: Fri, 9 Aug 2024 19:15:12 +0530 Subject: [PATCH] update download url to reflect omnitruck api deprecation (#7118) * added docs changes Signed-off-by: vviveksharma * added docs changes Signed-off-by: vviveksharma * updated the typo Signed-off-by: vviveksharma --------- Signed-off-by: vviveksharma --- README.md | 6 ++++-- docs-chef-io/content/inspec/install.md | 11 ++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ec60ce6c1..ab0ad27e0 100644 --- a/README.md +++ b/README.md @@ -63,12 +63,14 @@ All currently supported versions of Chef InSpec (4.0 and later) require acceptin The Chef InSpec package is available for MacOS, RedHat, Ubuntu and Windows. Download the latest package at [Chef InSpec Downloads](https://www.chef.io/downloads/tools/inspec) or install Chef InSpec via script: +{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/). Please replace `` with your licenseId.{{< /note >}} + ``` # RedHat, Ubuntu, and macOS -curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec +curl https://chefdownload-commerical.chef.io/install.sh?license_id= | sudo bash -s -- -P inspec # Windows -. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project inspec +. { iwr -useb https://chefdownload-commerical.chef.io/install.ps1?license_id= } | iex; install -project inspec ``` ### Install it via rubygems.org diff --git a/docs-chef-io/content/inspec/install.md b/docs-chef-io/content/inspec/install.md index 17d1ed7b6..53683b1ea 100644 --- a/docs-chef-io/content/inspec/install.md +++ b/docs-chef-io/content/inspec/install.md @@ -21,8 +21,10 @@ To see which platforms and platform versions Chef InSpec is supported on, see th You can install Chef InSpec using a curl script. +{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/). Please replace `` with your licenseId.{{< /note >}} + ```bash -curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec +curl -L https://chefdownload-commerical.chef.io/install.sh?license_id= | sudo bash -s -- -P inspec ``` ## Windows @@ -36,8 +38,10 @@ then double-click on the `.msi` file to launch the installer and follow the prom You can install Chef InSpec using the following Powershell script. +{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/). Please replace `` with your licenseId.{{< /note >}} + ```powershell -. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project inspec +. { iwr -useb https://chefdownload-commerical.chef.io/install.ps1?license_id= } | iex; install -project inspec ``` Once you have installed Chef InSpec, run `inspec version` to verify that the installation @@ -48,9 +52,10 @@ was successful. ### CLI The following curl script will install Chef InSpec for Ubuntu and Red Hat Enterprise Linux: +{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/). Please replace `` with your licenseId.{{< /note >}} ```bash -curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec +curl https://chefdownload-commerical.chef.io/install.sh?license_id= | sudo bash -s -- -P inspec ``` If you prefer, you can use a package manager to install Chef InSpec.