diff --git a/content/install_chef_air_gap.md b/content/install_chef_air_gap.md index ed41dee0a0..90bb934cc2 100644 --- a/content/install_chef_air_gap.md +++ b/content/install_chef_air_gap.md @@ -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=` with the URL of +4. Update `airgap.erb` to replace `https://chefdownload-commericial.chef.io/install.sh?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 `` with your licenseId..{{< /note >}} + {{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/chef_install_script/). Please replace `` with your licenseId..{{< /note >}} ```ruby install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "http://packages.example.com/install.sh" %>" diff --git a/content/reusable/md/packages_install_script_examples.md b/content/reusable/md/packages_install_script_examples.md index 2ddbc73694..98fcde1b94 100644 --- a/content/reusable/md/packages_install_script_examples.md +++ b/content/reusable/md/packages_install_script_examples.md @@ -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 `` 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= | sudo bash -s -- -v 15.8.23 +curl -L https://chefdownload-commericial.chef.io/install.sh?license_id= | sudo bash -s -- -v 15.8.23 ``` -To install the latest version of Chef Workstation on Windows -from the `current` channel: +Replace `` with your license ID. -{{< note >}}Please replace `` 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= } | iex; install -channel current -project chef-workstation +. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id= } | iex; install -channel current -project chef-workstation ``` + +Replace `` with your license ID. diff --git a/content/reusable/md/packages_install_script_run_unix_linux.md b/content/reusable/md/packages_install_script_run_unix_linux.md index e78a9c5cef..d781f43049 100644 --- a/content/reusable/md/packages_install_script_run_unix_linux.md +++ b/content/reusable/md/packages_install_script_run_unix_linux.md @@ -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 `` 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= | sudo bash +curl -L https://chefdownload-commericial.chef.io/install.sh?license_id= | sudo bash ``` -- For Community Persona use +Replace `` with your license ID. + +For community users: ```bash curl -L https://chefdownload-community.chef.io/install.sh | sudo bash diff --git a/content/reusable/md/packages_install_script_run_windows.md b/content/reusable/md/packages_install_script_run_windows.md index 39e6ef9e42..74c37e009b 100644 --- a/content/reusable/md/packages_install_script_run_windows.md +++ b/content/reusable/md/packages_install_script_run_windows.md @@ -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 `` 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= } | iex; install +. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id= } | iex; install ``` -- For Community Persona use +Replace `` with your license ID. + +For community users: ```powershell . { iwr -useb https://chefdownload-community.chef.io/install.ps1 } | iex; install diff --git a/content/upgrade_client.md b/content/upgrade_client.md index dfbe2c2e4d..4c461cd47b 100644 --- a/content/upgrade_client.md +++ b/content/upgrade_client.md @@ -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 `` with your licenseId.{{< /note >}} +On Linux, macOS, and Unix-based hosts: ```bash -curl -L https://chefdownload-commericial.chef.io/install.sh?license_id=| sudo bash +curl -L https://chefdownload-commericial.chef.io/install.sh?license_id=| sudo bash ``` -Windows hosts: +Replace `` with your license ID. -{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/).Please replace `` with your licenseId.{{< /note >}} +On Windows hosts: ```powershell -. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id= } | iex; install +. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id= } | iex; install ``` -### Specifying the Version to Install +Replace `` 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 `` with your licenseId..{{< /note >}} +On Linux, macOS, and Unix-based hosts: ```bash -curl -L https://chefdownload-commericial.chef.io/install.sh?license_id= | sudo bash -s -- -v 17.9.26 +curl -L https://chefdownload-commericial.chef.io/install.sh?license_id= | sudo bash -s -- -v 17.9.26 ``` -Windows hosts: +Replace `` with your license ID. -{{< note >}}Please follow steps mentioned in this document [Chef Software Install Script](/install_omnibus/). Please replace `` with your licenseId..{{< /note >}} +On Windows hosts: ```powershell -. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id= } | iex; install -version 17.9.26 +. { iwr -useb https://chefdownload-commericial.chef.io/install.ps1?license_id= } | iex; install -version 17.9.26 ``` -### Upgrading Multiple Hosts with Knife +Replace `` 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 `` 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= | sudo bash' +knife ssh 'name:*' 'curl -L https://chefdownload-commericial.chef.io/install.sh?license_id= | sudo bash' ``` +Replace `` 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.