Skip to content

Commit

Permalink
added omnitruck changes
Browse files Browse the repository at this point in the history
Signed-off-by: vviveksharma <[email protected]>
  • Loading branch information
vviveksharma committed Jul 16, 2024
1 parent 4486c3b commit 491308a
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 13 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions content/reusable/md/packages_install_script_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ The following examples show how to use the Chef Software Install script.
To install Chef Infra Client 15.8.23:

```bash
curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 15.8.23
{{< readfile file="content/chef_install_script.md" >}}
```

To install the latest version of Chef Workstation on Windows
from the `current` channel:

```powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -channel current -project chef-workstation
. {{< readfile file="content/chef_install_script.md" >}}
```
14 changes: 12 additions & 2 deletions content/reusable/md/packages_install_script_run_unix_linux.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
On UNIX, Linux, and macOS systems, invoke the Chef Software Install script with:

```bash
curl -L https://omnitruck.chef.io/install.sh | sudo bash
For Commercial Persona use curl -L https://chefdownload-commercial.chef.io/install.sh?license_id=<YOUR LICENSE ID>

For Trial Persona use curl -L https://chefdownload-trial.chef.io/install.sh

For Opensource Persona use curl https://chefdownload-community.chef.io/install.sh
```

and then enter the local password when prompted.
and then enter your licenseId in the place of license_id.

Once script is download install script

```bash
bash install.sh
```
14 changes: 13 additions & 1 deletion content/reusable/md/packages_install_script_run_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,17 @@ On Windows systems, invoke the Chef Software Install script using
Windows PowerShell:

```powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install
For Commercial Persona use curl -L https://chefdownload-commercial.chef.io/install.ps1?license_id=<YOUR LICENSE ID>
For Trial Persona use curl -L https://chefdownload-trial.chef.io/install.ps1
For Opensource Persona use curl -L https://chefdownload-community.chef.io/install.ps1
```

enter your licenseId in place of licenseId

Once the script is download install using

```powershell
{.\install.ps1}
```
8 changes: 4 additions & 4 deletions content/upgrade_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ To upgrade Chef Infra Client on a node from the command line, run the install sc
Linux, macOS, and Unix-based hosts:

```bash
curl -L https://chef.io/chef/install.sh | sudo bash
{{< readfile file="content/chef_install_script.md" >}}
```

Windows hosts:

```powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install
{{< readfile file="content/chef_install_script.md" >}}
```

### Specifying the Version to Install
Expand All @@ -39,7 +39,7 @@ The install script accepts arguments to allow installing specific versions of Ch
Linux, macOS, and Unix-based hosts:

```bash
curl -L https://chef.io/chef/install.sh | sudo bash -s -- -v 17.9.26
{{< readfile file="content/chef_install_script.md" >}}
```

Windows hosts:
Expand All @@ -53,7 +53,7 @@ Windows hosts:
The `knife ssh` command in Chef Workstation can be used to execute the install script on multiple Linux, macOS, and Unix-based hosts at once:

```bash
knife ssh 'name:*' 'curl -L https://chef.io/chef/install.sh | sudo bash'
{{< readfile file="content/chef_install_script.md" >}}
```

## Cookbook-Based Upgrade
Expand Down

0 comments on commit 491308a

Please sign in to comment.