Skip to content

Commit

Permalink
added notes
Browse files Browse the repository at this point in the history
Signed-off-by: vviveksharma <[email protected]>
  • Loading branch information
vviveksharma committed Jul 26, 2024
1 parent b90f984 commit 42e3701
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 27 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.

2 changes: 1 addition & 1 deletion content/install_chef_air_gap.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ custom template, and then modify the package and Ruby gem sources.
template file name, be sure to replace `airgap.erb` with the
template file you created during the last step.
4. Update `airgap.erb` to replace `https://chefdownload-commercial.chef.io/install.sh?license_id=<YOUR LICENSE ID>` with the URL of
4. Update `airgap.erb` to replace `https://chefdownload-commericial.chef.io/install.sh?license_id=<YOUR LICENSE ID>` with the URL of
`install.sh` on your artifact store:
```ruby
Expand Down
20 changes: 15 additions & 5 deletions content/reusable/md/packages_install_script_examples.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
The following examples show how to use the Chef Software Install script.

To install Chef Inspec 6.6.0:
To install Infra Client 15.8.23:

{{< note >}}

Enter your licenseId in place of YOUR LICENSE ID

{{< /note >}}

```bash
curl -L https://chefdownload-commercial.chef.io/install.sh?license_id=<YOUR LICENSE ID> | sudo bash -s -- -v 6.6.0
curl -L https://chefdownload-commericial.chef.io/install.sh?license_id=<YOUR LICENSE ID> | sudo bash -s -- -v 15.8.23
```

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

{{< note >}}

Enter your licenseId in place of YOUR LICENSE ID

{{< /note >}}

```powershell
. { iwr -useb https://chefdownload-commercial.chef.io/install.ps1?license_id=<YOUR LICENSE ID1> } | iex; install -channel stable -project inspec -version 6.6.0
. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id=<YOUR LICENSE ID> } | iex; install -channel current -project chef-workstation
```

enter your licenseId in the place of YOUR LICENSE ID
14 changes: 10 additions & 4 deletions content/reusable/md/packages_install_script_run_unix_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,26 @@ On UNIX, Linux, and macOS systems, invoke the Chef Software Install script with:

- For Commercial Persona use

{{< note >}}
Please replace YOUR LICENSE ID with your licenseId.
{{< /note >}}

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

- For Trial Persona use

{{< note >}}
For Trial Persona license Id is not mandatory please add if you have one. Please replace YOUR LICENSE ID with your licenseId.
{{< /note >}}

```bash
curl -L https://chefdownload-trial.chef.io/install.sh | sudo bash
curl -L https://chefdownload-trial.chef.io/install.sh?license_id=<YOUR LICENSE ID> | sudo bash
```

- For Community Persona use

```bash
curl -L https://chefdownload-community.chef.io/install.sh | sudo bash
```

enter your licenseId in the place of YOUR LICENSE ID
10 changes: 6 additions & 4 deletions content/reusable/md/packages_install_script_run_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,22 @@ Windows PowerShell:

- For Commercial Persona use

{{< note >}}Please replace YOUR LICENSE ID with your licenseId.{{< /note >}}

```powershell
. { iwr -useb https://chefdownload-commercial.chef.io/install.ps1?license_id=<YOUR LICENSE ID> } | iex; install
. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id=<YOUR LICENSE ID> } | iex; install
```

- For Trial Persona use

{{< note >}}For Trial Persona licene Id is not mandatory please add if you have one. Please replace YOUR LICENSE ID with your licenseId.{{< /note >}}

```powershell
. { iwr -useb https://chefdownload-trial.chef.io/install.ps1 } | iex; install
. { iwr -useb https://chefdownload-trial.chef.io/install.ps1?license_id=<YOUR LICENSE ID> } | iex; install
```

- For Community Persona use

```powershell
. { iwr -useb https://chefdownload-community.chef.io/install.ps1 } | iex; install
```

enter your licenseId in the place of YOUR LICENSE ID
22 changes: 17 additions & 5 deletions content/upgrade_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,26 @@ Please follow steps mentioned in this document [Chef Software Install Script](/i

Linux, macOS, and Unix-based hosts:

{{< note >}}

Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/).Enter your licenseId in place of YOUR LICENSE ID

{{< /note >}}

```bash
curl -L https://chef.io/chef/install.sh | sudo bash
curl -L https://chefdownload-commericial.chef.io/install.sh?license_id=<YOUR LICENSE ID>| sudo bash
```

Windows hosts:

{{< note >}}

Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/).Enter your licenseId in place of YOUR LICENSE ID

{{< /note >}}

```powershell
. { iwr -useb https://chefdownload-commercial.chef.io/install.ps1?license_id=<YOUR LICENSE ID1> } | iex; install
. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id=<YOUR LICENSE ID> } | iex; install
```

### Specifying the Version to Install
Expand All @@ -43,21 +55,21 @@ Please follow steps mentioned in this document [Chef Software Install Script](/i
Linux, macOS, and Unix-based hosts:

```bash
curl -L https://chefdownload-commercial.chef.io/install.sh?license_id=<YOUR LICENSE ID> | sudo bash -s -- -v 17.9.26
curl -L https://chefdownload-commericial.chef.io/install.sh?license_id=<YOUR LICENSE ID> | sudo bash -s -- -v 17.9.26
```

Windows hosts:

```powershell
. { iwr -useb https://chefdownload-commercial.chef.io/install.ps1?license_id=<YOUR LICENSE ID1> } | iex; install -version 17.9.26
. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id=<YOUR LICENSE ID1> } | iex; install -version 17.9.26
```

### Upgrading Multiple Hosts with Knife

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://chefdownload-commercial.chef.io/install.sh?license_id=<YOUR LICENSE ID> | sudo bash'
knife ssh 'name:*' 'curl -L https://chefdownload-commericial.chef.io/install.sh?license_id=<YOUR LICENSE ID> | sudo bash'
```

enter your licenseId in the place of YOUR LICENSE ID
Expand Down

0 comments on commit 42e3701

Please sign in to comment.