Remove Hab-related docs

Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
This commit is contained in:
Mary Jinglewski 2019-12-12 15:10:28 -05:00
parent f89bee450f
commit 1ace56693a

View file

@ -6,8 +6,7 @@ Users can choose between operating systems of MacOS, Windows, and Linux for Chef
You can download the latest [Chef InSpec package](https://downloads.chef.io/inspec) relevant to your operating system.
Alternatively, Chef InSpec can be installed via script according to your operating system and method through the methods below.
macOS install options include [Homebrew](https://brew.sh/), CLI, and Chef Habitat. Windows install options include Installer, Powershell, and Chef Habitat. Linux install options covers Ubuntu, Red Hat Enterprise Linux, and SUSE Linux Enterprise Server.
Alternatively, Chef InSpec can be installed via script according to your operating system and method as listed below.
### macOS
@ -28,18 +27,6 @@ You can download Chef InSpec via script:
curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec
```
#### Habitat
Use Chef Habitat to install Chef InSpec, or include Chef InSpec in your own Chef Habitat packages. Chef InSpec is available [on the Habitat Builder Depot](https://bldr.habitat.sh/#/pkgs/chef/inspec).
Use the following command to install the Chef InSpec package:
```
$ hab pkg uninstall chef/inspec
```
See about available flag options in the [hab pkg install documentation](https://www.habitat.sh/docs/habitat-cli/#hab-pkg-install).
### Windows
#### Installer
@ -58,10 +45,6 @@ Use the following command to install Chef InSpec via Powershell:
Once Chef InSpec is installed, run `inspec version` to verify that the installation was successful.
#### Habitat
Use Chef Habitat to install Chef InSpec, or include Chef InSpec in your own Chef Habitat packages.
You can find [Chef InSpec on the Depot here](https://bldr.habitat.sh/#/pkgs/chef/inspec).
### Linux
@ -85,12 +68,6 @@ For SUSE Linux Enterprise Server, use the following command to install Chef InSp
zypper install /path-to/inspec.rpm
```
#### Habitat
Use Chef Habitat to install Chef InSpec, or include Chef InSpec in your own Chef Habitat packages.
You can find [Chef InSpec on the Depot here](https://bldr.habitat.sh/#/pkgs/chef/inspec).
## Update Chef InSpec
### macOS
@ -105,8 +82,6 @@ brew cask upgrade inspec
#### CLI
#### Habitat
### Windows
@ -115,8 +90,6 @@ brew cask upgrade inspec
#### Powershell
#### Habitat
### Linux
@ -140,9 +113,6 @@ For SUSE Linux Enterprise Server, use the following command to update Chef InSpe
```
#### Habitat
## Uninstall Chef InSpec
Chef InSpec can be uninstalled using the steps below that are appropriate for the method of Chef InSpec installation.
@ -159,22 +129,12 @@ $ brew uninstall --force chef/chef/inspec
#### CLI
Ue the following *destructive* command in your terminal to remove the Chef InSpec package:
Use the following *destructive* command in your terminal to remove the Chef InSpec package:
```
$ sudo rm -rf /opt/inspec
```
#### Habitat
To uninstall the Chef InSpec package, use the following command:
```
$ hab pkg uninstall chef/inspec
```
See about available flag options in the [hab pkg uninstall documentation](https://www.habitat.sh/docs/habitat-cli/#hab-pkg-uninstall).
### Windows
@ -185,16 +145,6 @@ Use *Add / Remove Programs* to remove Chef InSpec.
#### Powershell
#### Habitat
To uninstall the Chef InSpec package, use the following command:
```
$ hab pkg uninstall chef/inspec
```
See about available flag options in the [hab pkg uninstall documentation](https://www.habitat.sh/docs/habitat-cli/#hab-pkg-uninstall).
### Linux
#### CLI [TO FIX]
@ -216,13 +166,3 @@ For SUSE Linux Enterprise Server, use the following command to uninstall Chef In
```
zypper remove inspec
```
#### Habitat
To uninstall the Chef InSpec package, use the following command:
```
$ hab pkg uninstall chef/inspec
```
See about available flag options in the [hab pkg uninstall documentation](https://www.habitat.sh/docs/habitat-cli/#hab-pkg-uninstall).