update download url to reflect omnitruck api deprecation (#7118)

* added docs changes

Signed-off-by: vviveksharma <visharma@progress.com>

* added docs changes

Signed-off-by: vviveksharma <visharma@progress.com>

* updated the typo

Signed-off-by: vviveksharma <visharma@progress.com>

---------

Signed-off-by: vviveksharma <visharma@progress.com>
This commit is contained in:
Vivek Sharma 2024-08-09 19:15:12 +05:30 committed by GitHub
parent 4843867d00
commit a3c3ad345a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 5 deletions

View file

@ -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 `<YOUR LICENSE ID>` 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=<YOUR 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=<YOUR LICENSE ID> } | iex; install -project inspec
```
### Install it via rubygems.org

View file

@ -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 `<YOUR LICENSE ID>` 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=<YOUR 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 `<YOUR LICENSE ID>` 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=<YOUR 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 `<YOUR LICENSE ID>` 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=<YOUR LICENSE ID> | sudo bash -s -- -P inspec
```
If you prefer, you can use a package manager to install Chef InSpec.