Skip to content

Commit f6b63a0

Browse files
committed
Update docs for chef manage and others
Signed-off-by: nitin sanghi <nsanghi@progress.com>
1 parent 6b55f67 commit f6b63a0

9 files changed

Lines changed: 14 additions & 520 deletions

File tree

content/install.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Installing the Latest Stable Version To install the most recent stable release f
3939
The recommended installation method includes binary linking, which creates symbolic links to the package binaries in your system PATH. This enables direct command execution without requiring the full Habitat exec syntax:
4040

4141
```shell
42-
sudo hab pkg install chef/chef-workstation --binlink --force
42+
hab pkg install chef/chef-workstation --binlink --force
4343
```
4444

4545
### Installing from the Unstable Channel
@@ -109,13 +109,13 @@ Binary linking creates symbolic links to package executables in a system-wide lo
109109
To enable binary linking during the initial installation, include the binlink flag:
110110

111111
```shell
112-
sudo hab pkg install chef/chef-workstation --binlink
112+
hab pkg install chef/chef-workstation --binlink
113113
```
114114

115115
If you have already installed Chef Workstation without binary linking, you can enable it afterwards:
116116

117117
```shell
118-
sudo hab pkg binlink chef/chef-workstation
118+
hab pkg binlink chef/chef-workstation
119119
```
120120

121121
Once binary linking is enabled, you can invoke tools directly from the command line:
@@ -163,7 +163,7 @@ Follow these instructions to install a Workstation tool.
163163
1. Install a package using [`hab pkg install`](https://docs.chef.io/habitat/habitat_cli/#hab-pkg-install):
164164

165165
```sh
166-
sudo hab pkg install <PACKAGE_IDENT> --binlink --force
166+
hab pkg install <PACKAGE_IDENT> --binlink --force
167167
```
168168

169169
Replace `<PACKAGE_IDENT>` with the package identifier:
@@ -208,7 +208,7 @@ ls -la /bin | grep chef
208208
If binlinks are missing, recreate them:
209209

210210
```sh
211-
sudo hab pkg binlink --force chef/chef-workstation
211+
hab pkg binlink --force chef/chef-workstation
212212
```
213213

214214
### Permission errors

content/license.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ To add a license using the `test-kitchen` CLI:
111111
1. Run the license command:
112112

113113
```sh
114-
sudo kitchen license
114+
kitchen license
115115
```
116116

117117
1. At the first prompt, select **I already have a license ID**.

content/set_up.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -160,19 +160,7 @@ Copy-Item -Path C:\Users\MY_NAME\Downloads\USERNAME.pem -Destination C:\Users\MY
160160
{{< /foundation_tabs_panel >}}
161161
{{< foundation_tabs_panel panel-id="hosted-keys" >}}
162162

163-
The client key file is located in the Starter Kit at `.chef/USERNAME.pem`. Copy the PEM file to the `~/.chef` directory.
164-
165-
On macOS and Linux systems, this looks something like:
166-
167-
```bash
168-
cp ~/Downloads/chef-repo/.chef/USERNAME.pem ~/.chef/
169-
```
170-
171-
On Windows systems, this looks something like this:
172-
173-
```powershell
174-
Copy-Item -Path C:\Users\MY_NAME\Downloads\chef-repo\.chef\USERNAME.pem -Destination C:\Users\MY_NAME\.chef\
175-
```
163+
Chef Manage is deprecated and no longer supported.
176164

177165
{{< /foundation_tabs_panel >}}
178166
{{< /foundation_tabs_panels >}}

content/tools/kitchen/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ For more information, see the [Chef Habitat install documentation](https://docs.
3737
1. Use Chef Habitat to install the Chef Test Kitchen Enterprise package:
3838

3939
```sh
40-
sudo hab pkg install --binlink --force chef/chef-test-kitchen-enterprise --channel unstable
40+
hab pkg install --binlink --force chef/chef-test-kitchen-enterprise --channel unstable
4141
```
4242

4343
Chef Habitat downloads and installs Chef Test Kitchen Enterprise, it's components, and the `chef-cli` and `kitchen` CLI tools.

content/tools/kitchen/run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following `kitchen.yaml` file example defines tests that run in Chef Infra C
2626
driver:
2727
name: dokken
2828
privileged: true
29-
chef_version: unstable
29+
chef_version: 19.2.12
3030

3131
provisioner:
3232
name: dokken

content/tools/knife/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To install the Knife standalone package, follow these steps:
3030
1. Install Knife:
3131

3232
```sh
33-
sudo hab pkg install chef/knife --channel unstable --binlink --force
33+
hab pkg install chef/knife --channel unstable --binlink --force
3434
```
3535

3636
1. Optional: After installation, verify Knife is installed and working:

0 commit comments

Comments
 (0)