Skip to content

Commit

Permalink
Editing
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Maddaus <[email protected]>
  • Loading branch information
IanMadd committed Aug 7, 2024
1 parent e0cf5bc commit 13064e8
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 52 deletions.
4 changes: 2 additions & 2 deletions content/install_chef_air_gap.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ 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-commericial.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=<LICENSE_ID>` with the URL of
`install.sh` on your artifact store:
{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/). Please replace `<YOUR LICENSE ID>` with your licenseId..{{< /note >}}
{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/chef_install_script/). Please replace `<LICENSE_ID>` with your licenseId..{{< /note >}}
```ruby
install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "http://packages.example.com/install.sh" %>"
Expand Down
15 changes: 7 additions & 8 deletions content/reusable/md/packages_install_script_examples.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
The following examples show how to use the Chef Software Install script.

To install Infra Client 15.8.23:

{{< note >}}Please replace `<YOUR LICENSE ID>` with your licenseId.{{< /note >}}
To install Chef Infra Client 15.8.23 using the commercial download API:

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

To install the latest version of Chef Workstation on Windows
from the `current` channel:
Replace `<LICENSE_ID>` with your license ID.

{{< note >}}Please replace `<YOUR LICENSE ID>` with your licenseId.{{< /note >}}
To install the latest version of Chef Workstation on Windows from the `current` channel using the commercial download API:

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

Replace `<LICENSE_ID>` with your license ID.
16 changes: 6 additions & 10 deletions content/reusable/md/packages_install_script_run_unix_linux.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
On UNIX, Linux, and macOS systems, invoke the Chef Software Install script with:
On UNIX, Linux, and macOS systems, you can invoke the Chef Software Install script from one of two endpoints.

{{< note >}}
Please replace `<YOUR LICENSE ID>` with your licenseId. You can get your license id from the
download portal [Chef Download Portal](https://chef.io/downloads).
Sample license Id example: de89a1c4-5fde-4fd7-9fd0-6e8307ca913d
{{< /note >}}

- For Commercial Persona use
For commercial users:

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

- For Community Persona use
Replace `<LICENSE_ID>` with your license ID.

For community users:

```bash
curl -L https://chefdownload-community.chef.io/install.sh | sudo bash
Expand Down
17 changes: 6 additions & 11 deletions content/reusable/md/packages_install_script_run_windows.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
On Windows systems, invoke the Chef Software Install script using
Windows PowerShell:
On Windows systems, invoke the Chef Software Install script using Windows PowerShell:

{{< note >}}
Please replace `<YOUR LICENSE ID>` with your licenseId. You can get your license id from the
download portal [Chef Download Portal](https://chef.io/downloads).
Sample license Id example: de89a1c4-5fde-4fd7-9fd0-6e8307ca913d
{{< /note >}}

- For Commercial Persona use
For commercial users:

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

- For Community Persona use
Replace `<LICENSE_ID>` with your license ID.

For community users:

```powershell
. { iwr -useb https://chefdownload-community.chef.io/install.ps1 } | iex; install
Expand Down
44 changes: 23 additions & 21 deletions content/upgrade_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,54 +20,56 @@ The following sections describe the upgrade process for Chef Infra Client. If yo

To upgrade Chef Infra Client on a node from the command line, run the install script to install the latest Chef Infra Client release:

Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/)

Linux, macOS, and Unix-based hosts:

{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/).Please replace `<YOUR LICENSE ID>` with your licenseId.{{< /note >}}
On Linux, macOS, and Unix-based hosts:

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

Windows hosts:
Replace `<LICENSE_ID>` with your license ID.

{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/).Please replace `<YOUR LICENSE ID>` with your licenseId.{{< /note >}}
On Windows hosts:

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

### Specifying the Version to Install
Replace `<LICENSE_ID>` with your license ID.

The install script accepts arguments to allow installing specific versions of Chef Infra Client on systems.
For more information, see the [Chef Install Script documentation](/chef_install_script/)

Linux, macOS, and Unix-based hosts:
### Specify the Version to Install

The install script accepts arguments to allow installing specific versions of Chef Infra Client on systems.

{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/). Please replace `<YOUR LICENSE ID>` with your licenseId..{{< /note >}}
On Linux, macOS, and Unix-based hosts:

```bash
curl -L https://chefdownload-commericial.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=<LICENSE_ID> | sudo bash -s -- -v 17.9.26
```

Windows hosts:
Replace `<LICENSE_ID>` with your license ID.

{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/). Please replace `<YOUR LICENSE ID>` with your licenseId..{{< /note >}}
On Windows hosts:

```powershell
. { iwr -useb https://chefdownload-commericial.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=<LICENSE_ID> } | iex; install -version 17.9.26
```

### Upgrading Multiple Hosts with Knife
Replace `<LICENSE_ID>` with your license ID.

For more information, see the [Chef Install Script documentation](/chef_install_script/)

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:
### Upgrading Multiple Hosts with Knife

{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/). Please replace `<YOUR LICENSE ID>` with your licenseId..{{< /note >}}
You can execute the install script on multiple Linux, macOS, and Unix-based hosts at once using the `knife ssh` command:

```bash
knife ssh 'name:*' 'curl -L https://chefdownload-commericial.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=<LICENSE_ID> | sudo bash'
```

Replace `<LICENSE_ID>` with your license ID.

## Cookbook-Based Upgrade

The [chef_client_updater](https://supermarket.chef.io/cookbooks/chef_client_updater) cookbook can be used to install or upgrade Chef Infra Client package on a node.

0 comments on commit 13064e8

Please sign in to comment.