From 421881e3bec720c7b867bc3de5b87761c1078c18 Mon Sep 17 00:00:00 2001 From: Ritvik Patil Date: Thu, 28 May 2026 15:05:38 +0530 Subject: [PATCH 1/3] Update Automate, Infra Server, Manage, and Desktop docs with new download endpoints Replace deprecated packages.chef.io and omnitruck.chef.io with new commercial and community download API endpoints. Signed-off-by: Ritvik Patil --- .../content/server/ctl_chef_server.md | 2 +- .../content/server/install_server_tiered.md | 5 ++-- ...l_chef_server_install_features_download.md | 4 ++-- .../content/desktop/automate_server.md | 13 +++++++++- .../docs-chef-io/content/desktop/nodes.md | 24 +++++++++++++++++-- content/automate/ha_common.md | 2 +- content/automate/node_integrations.md | 2 +- 7 files changed, 41 insertions(+), 11 deletions(-) diff --git a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/ctl_chef_server.md b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/ctl_chef_server.md index 3269fcd01c..8845a66169 100644 --- a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/ctl_chef_server.md +++ b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/ctl_chef_server.md @@ -141,7 +141,7 @@ This subcommand has the following options: : Use to specify the location of a package. This option is not required when packages are downloaded from - . + (commercial users) or (community users). ### Use Downloads diff --git a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/install_server_tiered.md b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/install_server_tiered.md index aec8db55e4..af096375df 100644 --- a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/install_server_tiered.md +++ b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/install_server_tiered.md @@ -273,9 +273,8 @@ first downloaded to a local directory, and then installed. **Use Downloads** -The `install` subcommand downloads packages from - by default. For systems that are not behind -a firewall (and have connectivity to ), the +The `install` subcommand downloads packages from the Chef download API by default ( for commercial users or for community users). For systems that are not behind +a firewall (and have connectivity to the Chef download API), the Chef management console package can be installed as described below: Chef Manage diff --git a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/reusable/md/ctl_chef_server_install_features_download.md b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/reusable/md/ctl_chef_server_install_features_download.md index 6bdc669661..2495f25ab9 100644 --- a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/reusable/md/ctl_chef_server_install_features_download.md +++ b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/reusable/md/ctl_chef_server_install_features_download.md @@ -1,5 +1,5 @@ -The `install` subcommand downloads packages from by default. -For systems that are not behind a firewall (and have connectivity to ), these packages can be installed as described below. +The `install` subcommand downloads packages from the Chef download API by default ( for commercial users or for community users). +For systems that are not behind a firewall (and have connectivity to the Chef download API), these packages can be installed as described below. 1. Install add-ons diff --git a/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/automate_server.md b/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/automate_server.md index 062724c4cc..6238e2d10a 100644 --- a/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/automate_server.md +++ b/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/automate_server.md @@ -39,8 +39,19 @@ sysctl -w vm.dirty_expire_centisecs=20000 Download the Chef Automate CLI: +**For commercial license users:** + +```bash +curl -L "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate +chmod +x chef-automate +``` + +Replace `` with your commercial license ID. + +**For community/trial license users:** + ```bash -curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate +curl -L "https://chefdownload-community.chef.io/stable/automate/download?p=linux&m=x86_64" -o chef-automate chmod +x chef-automate ``` diff --git a/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/nodes.md b/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/nodes.md index 7597bdf02b..5c58a37fc4 100644 --- a/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/nodes.md +++ b/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/nodes.md @@ -44,16 +44,36 @@ Go to your test node and install the Chef Infra Client from an elevated PowerShe #### On Windows +**For commercial license users:** + +```powershell +. { iwr -useb https://chefdownload-commercial.chef.io/install.ps1?license_id= } | iex; install -project chef +``` + +**For community/trial license users:** + ```powershell -. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef +. { iwr -useb https://chefdownload-community.chef.io/install.ps1?license_id= } | iex; install -project chef ``` +Replace `` with your license ID. + #### On macOS +**For commercial license users:** + +```bash +curl -L https://chefdownload-commercial.chef.io/install.sh?license_id= | sudo bash +``` + +**For community/trial license users:** + ```bash -sudo bash -c "$(curl -sL https://chef.io/chef/install.sh)" +curl -L https://chefdownload-community.chef.io/install.sh?license_id= | sudo bash ``` +Replace `` with your license ID. + ### Load the client.rb After Chef Infra Client finishes installing, copy the `client.rb` file with the correct data for your node and Chef Infra Server, and place that in `c:\chef`. diff --git a/content/automate/ha_common.md b/content/automate/ha_common.md index b8ea122235..7274650d38 100644 --- a/content/automate/ha_common.md +++ b/content/automate/ha_common.md @@ -319,7 +319,7 @@ This section elaborates the validation procedure that checks the firewall rules Follow these steps to examine the firewall rules are stateful, and ports are open before Chef Automate High Availability (HA) backend cluster deployment in air-gapped environment (means no access to the internet): -1. Download hab, _hab-x86_64-linux.tar.gz_ by executing the command, `sudo wget https://packages.chef.io/files/stable/habitat/latest/hab-x86_64-linux.tar.gz`. +1. Download hab, _hab-x86_64-linux.tar.gz_ by executing the command, `sudo wget "https://chefdownload-commercial.chef.io/stable/habitat/download?p=linux&pv=2.6&m=x86_64&license_id=" -O hab-x86_64-linux.tar.gz`. Replace `` with your commercial license ID. 1. Install hab package in your internet environment by executing the following commands that generate the _netcat package_: diff --git a/content/automate/node_integrations.md b/content/automate/node_integrations.md index 228c48eac1..8e8ac5fcfd 100644 --- a/content/automate/node_integrations.md +++ b/content/automate/node_integrations.md @@ -127,7 +127,7 @@ Chef Automate doesn't run a detect job on the instances; all instances with an S The `ssm` Scan Job: -1. Installs the latest stable InSpec from `packages.chef.io` +1. Installs the latest stable InSpec 1. Executes InSpec locally, providing InSpec with the `fqdn` of Chef Automate and a data collector token, so each instance reports directly back to Chef Automate Your Automate instance must be reachable (open to incoming traffic) from the instances being scanned in order for the SSM scanning to work. You can filter the instances to be scanned by specifying tag key/value matches or regions. From 97b63c42e7d0930c790d3b6849c9f8bd49bc0805 Mon Sep 17 00:00:00 2001 From: Ritvik Patil Date: Mon, 8 Jun 2026 17:51:29 +0530 Subject: [PATCH 2/3] Revert _vendor file changes - these need to be made in upstream repos (chef-server and desktop-config) --- .../content/server/ctl_chef_server.md | 2 +- .../content/server/install_server_tiered.md | 5 ++-- ...l_chef_server_install_features_download.md | 4 ++-- .../content/desktop/automate_server.md | 13 +--------- .../docs-chef-io/content/desktop/nodes.md | 24 ++----------------- 5 files changed, 9 insertions(+), 39 deletions(-) diff --git a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/ctl_chef_server.md b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/ctl_chef_server.md index 8845a66169..3269fcd01c 100644 --- a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/ctl_chef_server.md +++ b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/ctl_chef_server.md @@ -141,7 +141,7 @@ This subcommand has the following options: : Use to specify the location of a package. This option is not required when packages are downloaded from - (commercial users) or (community users). + . ### Use Downloads diff --git a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/install_server_tiered.md b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/install_server_tiered.md index af096375df..aec8db55e4 100644 --- a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/install_server_tiered.md +++ b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/install_server_tiered.md @@ -273,8 +273,9 @@ first downloaded to a local directory, and then installed. **Use Downloads** -The `install` subcommand downloads packages from the Chef download API by default ( for commercial users or for community users). For systems that are not behind -a firewall (and have connectivity to the Chef download API), the +The `install` subcommand downloads packages from + by default. For systems that are not behind +a firewall (and have connectivity to ), the Chef management console package can be installed as described below: Chef Manage diff --git a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/reusable/md/ctl_chef_server_install_features_download.md b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/reusable/md/ctl_chef_server_install_features_download.md index 2495f25ab9..6bdc669661 100644 --- a/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/reusable/md/ctl_chef_server_install_features_download.md +++ b/_vendor/github.com/chef/chef-server/docs-chef-io/content/server/reusable/md/ctl_chef_server_install_features_download.md @@ -1,5 +1,5 @@ -The `install` subcommand downloads packages from the Chef download API by default ( for commercial users or for community users). -For systems that are not behind a firewall (and have connectivity to the Chef download API), these packages can be installed as described below. +The `install` subcommand downloads packages from by default. +For systems that are not behind a firewall (and have connectivity to ), these packages can be installed as described below. 1. Install add-ons diff --git a/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/automate_server.md b/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/automate_server.md index 6238e2d10a..062724c4cc 100644 --- a/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/automate_server.md +++ b/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/automate_server.md @@ -39,19 +39,8 @@ sysctl -w vm.dirty_expire_centisecs=20000 Download the Chef Automate CLI: -**For commercial license users:** - -```bash -curl -L "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate -chmod +x chef-automate -``` - -Replace `` with your commercial license ID. - -**For community/trial license users:** - ```bash -curl -L "https://chefdownload-community.chef.io/stable/automate/download?p=linux&m=x86_64" -o chef-automate +curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate chmod +x chef-automate ``` diff --git a/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/nodes.md b/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/nodes.md index 5c58a37fc4..7597bdf02b 100644 --- a/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/nodes.md +++ b/_vendor/github.com/chef/desktop-config/docs-chef-io/content/desktop/nodes.md @@ -44,36 +44,16 @@ Go to your test node and install the Chef Infra Client from an elevated PowerShe #### On Windows -**For commercial license users:** - -```powershell -. { iwr -useb https://chefdownload-commercial.chef.io/install.ps1?license_id= } | iex; install -project chef -``` - -**For community/trial license users:** - ```powershell -. { iwr -useb https://chefdownload-community.chef.io/install.ps1?license_id= } | iex; install -project chef +. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef ``` -Replace `` with your license ID. - #### On macOS -**For commercial license users:** - -```bash -curl -L https://chefdownload-commercial.chef.io/install.sh?license_id= | sudo bash -``` - -**For community/trial license users:** - ```bash -curl -L https://chefdownload-community.chef.io/install.sh?license_id= | sudo bash +sudo bash -c "$(curl -sL https://chef.io/chef/install.sh)" ``` -Replace `` with your license ID. - ### Load the client.rb After Chef Infra Client finishes installing, copy the `client.rb` file with the correct data for your node and Chef Infra Server, and place that in `c:\chef`. From 0cfe9845209878bd579def371e3855742cc83f2f Mon Sep 17 00:00:00 2001 From: Ritvik Patil Date: Mon, 8 Jun 2026 17:53:35 +0530 Subject: [PATCH 3/3] Update download URLs to chefdownload-commercial.chef.io in automate docs Replaced packages.chef.io with new commercial download endpoints (with license_id) in 17 automate documentation files. --- content/automate/airgapped_installation.md | 12 +++++-- content/automate/configuration.md | 3 +- content/automate/get_started.md | 7 ++-- content/automate/ha_aws_deploy_steps.md | 9 ++--- .../automate/ha_aws_managed_deploy_steps.md | 9 ++--- .../ha_chef_backend_to_automate_ha.md | 4 ++- content/automate/ha_node_bootstrapping.md | 4 ++- .../ha_on_premises_deployment_procedure.md | 9 ++--- content/automate/ha_upgrade_introduction.md | 12 +++++-- content/automate/infra_server.md | 4 ++- content/automate/install.md | 4 ++- content/automate/major_upgrade.md | 20 ++++++++--- content/automate/major_upgrade_4.x.md | 34 ++++++++++++++----- content/automate/managed_services.md | 4 ++- content/automate/migrate.md | 7 ++-- content/automate/on_prem_builder.md | 4 ++- content/automate/restore.md | 4 ++- 17 files changed, 105 insertions(+), 45 deletions(-) diff --git a/content/automate/airgapped_installation.md b/content/automate/airgapped_installation.md index 5c950dc73c..9a7566842d 100644 --- a/content/automate/airgapped_installation.md +++ b/content/automate/airgapped_installation.md @@ -29,23 +29,29 @@ To get a trial license for an airgapped host [contact Chef](https://www.chef.io/ Download the Chef Automate command-line tool from the `current` [release channel]({{< relref "install.md#release-channels" >}}). ```shell -curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate +curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` +Replace `` with your commercial license ID. + ## Download the Airgap Installation Bundle Download the airgap installation bundles of the latest automate version to an internet-connected machine using: ```shell -curl https://packages.chef.io/airgap_bundle/current/automate/latest.aib -o +curl "https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/latest.aib?license_id=" -o ``` +Replace `` with your commercial license ID. + Download the bundle of a specific version using: ```shell -curl https://packages.chef.io/airgap_bundle/current/automate/.aib -o +curl "https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/.aib?license_id=" -o ``` +Replace `` with your commercial license ID and `` with the desired version. + {{< note >}} Chef Automate bundles are available for 365 days from the release of a version. However, the milestone release bundles are available for download forever.{{< /note >}} ## Create an Airgap Installation Bundle diff --git a/content/automate/configuration.md b/content/automate/configuration.md index 8aa081a54d..6ce29a2504 100644 --- a/content/automate/configuration.md +++ b/content/automate/configuration.md @@ -171,7 +171,8 @@ Then run `chef-automate config patch ` to deploy your c Chef Automate must be able to access the following: -* `packages.chef.io` +* `chefdownload-commercial.chef.io` +* `chefdownload-community.chef.io` * `licensing.chef.io` * `raw.githubusercontent.com` * `api.bintray.com` diff --git a/content/automate/get_started.md b/content/automate/get_started.md index b1be994595..89a472c50f 100644 --- a/content/automate/get_started.md +++ b/content/automate/get_started.md @@ -36,7 +36,9 @@ By installing Chef Automate with the Vagrantfile provided below you're automatic ## Create a Vagrantfile -Copy and paste this script into your command line to create the Chef Automate `Vagrantfile`: +Copy and paste this script into your command line to create the Chef Automate `Vagrantfile`. + +**Note:** Replace `` in the script with your commercial license ID before running. ```ruby cat > Vagrantfile <<'EOH' @@ -52,8 +54,7 @@ apt-get clean sysctl -w vm.max_map_count=262144 sysctl -w vm.dirty_expire_centisecs=20000 echo "${CFG_IP} ${CFG_HOSTNAME}" | tee -a /etc/hosts -curl -fsSL https://packages.chef.io/files/current/automate/latest/chef-automate_linux_amd64.zip -o /tmp/chef-automate_linux_amd64.zip -unzip -qod /usr/local/bin /tmp/chef-automate_linux_amd64.zip +curl -fsSL "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o /usr/local/bin/chef-automate chmod +x /usr/local/bin/chef-automate chef-automate deploy --accept-terms-and-mlsa echo "Server is up and running. Please log in at https://${CFG_HOSTNAME}/" diff --git a/content/automate/ha_aws_deploy_steps.md b/content/automate/ha_aws_deploy_steps.md index ec52761a66..c46d4aa8fc 100644 --- a/content/automate/ha_aws_deploy_steps.md +++ b/content/automate/ha_aws_deploy_steps.md @@ -42,15 +42,16 @@ Run the following steps on Bastion Host Machine: #Run commands as sudo. sudo -- sh -c " #Download Chef Automate CLI. - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip \ - | gunzip - > chef-automate && chmod +x chef-automate \ - | cp -f chef-automate /usr/bin/chef-automate + curl \"https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=\" \ + -o /usr/bin/chef-automate && chmod +x /usr/bin/chef-automate #Download the latest Airgapped Bundle. #To download specific version bundle, example version: 4.2.59 then replace latest.aib with 4.2.59.aib - curl https://packages.chef.io/airgap_bundle/current/automate/latest.aib -o automate.aib + curl \"https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/latest.aib?license_id=\" -o automate.aib " ``` + Replace `` with your commercial license ID. + {{< note >}} Chef Automate bundles are available for 365 days from the release of a version. However, the milestone release bundles are available for download forever. diff --git a/content/automate/ha_aws_managed_deploy_steps.md b/content/automate/ha_aws_managed_deploy_steps.md index 5c559afcf2..440c469418 100644 --- a/content/automate/ha_aws_managed_deploy_steps.md +++ b/content/automate/ha_aws_managed_deploy_steps.md @@ -30,15 +30,16 @@ Follow the steps below to deploy Chef Automate High Availability (HA) on AWS (Am #Run commands as sudo. sudo -- sh -c " #Download Chef Automate CLI. - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip \ - | gunzip - > chef-automate && chmod +x chef-automate \ - | cp -f chef-automate /usr/bin/chef-automate + curl \"https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=\" \ + -o /usr/bin/chef-automate && chmod +x /usr/bin/chef-automate #Download the latest Airgapped Bundle. #To download specific version bundle, example version: 4.2.59 then replace latest.aib with 4.2.59.aib - curl https://packages.chef.io/airgap_bundle/current/automate/latest.aib -o automate.aib + curl \"https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/latest.aib?license_id=\" -o automate.aib " ``` + Replace `` with your commercial license ID. + {{< note spaces=3 >}} Chef Automate bundles are available for 365 days from the release of a version. However, the milestone release bundles are available for download forever. diff --git a/content/automate/ha_chef_backend_to_automate_ha.md b/content/automate/ha_chef_backend_to_automate_ha.md index 9fac698ad9..e737dc7018 100644 --- a/content/automate/ha_chef_backend_to_automate_ha.md +++ b/content/automate/ha_chef_backend_to_automate_ha.md @@ -203,9 +203,11 @@ Where: 5. ssh to bastion machine and download chef-automate CLI and extract the downloaded zip file ```sh - https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate | cp -f chef-automate /usr/bin/chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o /usr/bin/chef-automate && chmod +x /usr/bin/chef-automate ``` + Replace `` with your commercial license ID. + 6. Create an airgap bundle using the command ```sh diff --git a/content/automate/ha_node_bootstrapping.md b/content/automate/ha_node_bootstrapping.md index 7b5337a158..cced5f76fa 100644 --- a/content/automate/ha_node_bootstrapping.md +++ b/content/automate/ha_node_bootstrapping.md @@ -82,9 +82,11 @@ The Chef Infra Client installer puts everything into a unique directory (/opt/ch - Install the latest version of chef Workstation on the ubuntu system. ```bash - wget https://packages.chef.io/files/stable/chef-workstation/21.7.524/ubuntu/20.04/chef-workstation_21.7.524-1_amd64.deb + wget "https://chefdownload-commercial.chef.io/stable/chef-workstation/download?p=ubuntu&pv=20.04&m=x86_64&v=21.7.524&license_id=" -O chef-workstation_21.7.524-1_amd64.deb ``` + Replace `` with your commercial license ID. + - To install the same: ```bash diff --git a/content/automate/ha_on_premises_deployment_procedure.md b/content/automate/ha_on_premises_deployment_procedure.md index 669c436c2b..05e76fc143 100644 --- a/content/automate/ha_on_premises_deployment_procedure.md +++ b/content/automate/ha_on_premises_deployment_procedure.md @@ -48,13 +48,14 @@ Ensure all resources are on existing or cloud infrastructure (`AWS`/`Azure`/`Goo ```bash sudo -- sh -c " - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip \ - | gunzip - > chef-automate && chmod +x chef-automate \ - | cp -f chef-automate /usr/bin/chef-automate - curl https://packages.chef.io/airgap_bundle/current/automate/latest.aib -o automate.aib + curl \"https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=\" \ + -o /usr/bin/chef-automate && chmod +x /usr/bin/chef-automate + curl \"https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/latest.aib?license_id=\" -o automate.aib " ``` + Replace `` with your commercial license ID. + {{< note >}} In case `/usr/bin` isn't there then check for `/bin` directory diff --git a/content/automate/ha_upgrade_introduction.md b/content/automate/ha_upgrade_introduction.md index c4f909a3a2..c7518f6d24 100644 --- a/content/automate/ha_upgrade_introduction.md +++ b/content/automate/ha_upgrade_introduction.md @@ -16,23 +16,29 @@ To upgrade Chef Automate HA, follow these steps: 1. Download the latest CLI: ```bash - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate | cp -f chef-automate /usr/bin/chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o /usr/bin/chef-automate && chmod +x /usr/bin/chef-automate ``` + Replace `` with your commercial license ID. + 1. Download the airgap bundle. To download the latest bundle, run: ```bash - curl https://packages.chef.io/airgap_bundle/current/automate/latest.aib -o latest.aib + curl "https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/latest.aib?license_id=" -o latest.aib ``` + Replace `` with your commercial license ID. + To download a specific version, run: ```bash - curl https://packages.chef.io/airgap_bundle/current/automate/.aib -o automate-.aib + curl "https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/.aib?license_id=" -o automate-.aib ``` + Replace `` with your commercial license ID and `` with the desired version. + {{< note >}} Chef Automate bundles are available for 365 days from the release of a version. However, the milestone release bundles are available for download forever. {{< /note >}} diff --git a/content/automate/infra_server.md b/content/automate/infra_server.md index 30802695f5..be3303a524 100644 --- a/content/automate/infra_server.md +++ b/content/automate/infra_server.md @@ -44,9 +44,11 @@ Before beginning your installation, check the [System Requirements]({{< relref " To download the `chef-automate` command line tool, run the following command in your command line interface: ```shell -curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate +curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` +Replace `` with your commercial license ID. + ## Install Chef Automate and Chef Infra Server on the Same Host Use either a command line interface or a configuration file to install Chef Automate and Chef Infra Server on the same host. diff --git a/content/automate/install.md b/content/automate/install.md index 216683c0b5..e94e3ff81e 100644 --- a/content/automate/install.md +++ b/content/automate/install.md @@ -23,9 +23,11 @@ See [Airgapped Installation]({{< relref "airgapped_installation.md" >}}) for ins Download and unzip the Chef Automate command-line tool: ```shell -curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate +curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` +Replace `` with your commercial license ID. + ## Create Default Configuration Create a `config.toml` file with default values for your Chef Automate installation: diff --git a/content/automate/major_upgrade.md b/content/automate/major_upgrade.md index 7fe878362f..9e5902d55c 100644 --- a/content/automate/major_upgrade.md +++ b/content/automate/major_upgrade.md @@ -51,9 +51,11 @@ Please upgrade to latest date pattern version number. 1. On an internet-connected machine, download the latest Chef Automate CLI. ```sh - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` + Replace `` with your commercial license ID. + 1. Create a bundle for version 20220329091442. ```sh @@ -184,9 +186,11 @@ To upgrade to 3.0.x, follow the steps below: 1. Download latest CLI of Chef Automate ```sh - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` + Replace `` with your commercial license ID. + 2. Create an Airgap Installation Bundle (AIB): ```sh @@ -196,9 +200,11 @@ To upgrade to 3.0.x, follow the steps below: Or you can download it with a curl request. ```sh - curl https://packages.chef.io/airgap_bundle/current/automate/3.0.49.aib -o automate-3.0.49.aib + curl "https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/3.0.49.aib?license_id=" -o automate-3.0.49.aib ``` + Replace `` with your commercial license ID. + 3. Copy the latest Chef Automate CLI (`chef-automate`) and AIB (`automate_3.0.x.aib`) to the air-gapped machine running Chef Automate. #### On air-gapped machine running Chef Automate @@ -256,9 +262,11 @@ To upgrade to 3.0.x, follow the steps below: 1. Download latest CLI of Chef Automate ```sh - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` + Replace `` with your commercial license ID. + 2. Create an Airgap Installation Bundle (AIB): ```sh @@ -268,9 +276,11 @@ To upgrade to 3.0.x, follow the steps below: Or you can download it with a curl request. ```sh - curl https://packages.chef.io/airgap_bundle/current/automate/latest.aib -o automate-3.0.49.aib + curl "https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/latest.aib?license_id=" -o automate-3.0.49.aib ``` + Replace `` with your commercial license ID. + 3. Copy the latest Chef Automate CLI (`chef-automate`) and AIB (`automate_3.0.x.aib`) to the air-gapped machine running Chef Automate. #### On air-gapped machine running Chef Automate diff --git a/content/automate/major_upgrade_4.x.md b/content/automate/major_upgrade_4.x.md index 32eb488b7b..1085822338 100644 --- a/content/automate/major_upgrade_4.x.md +++ b/content/automate/major_upgrade_4.x.md @@ -49,9 +49,11 @@ For example, if today you are on version _2021201164433_, your upgrade journey s - **Download latest chef-automate cli:** ```sh - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` + Replace `` with your commercial license ID. + ## Upgrade to Version 3.0.49 Check your current version: @@ -96,9 +98,11 @@ To upgrade Chef Automate from version 3.0.49 to 4.x with embedded Elasticsearch, 1. Download latest chef-automate cli. ```sh - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` + Replace `` with your commercial license ID. + 2. Start a major version upgrade: ```sh @@ -241,9 +245,11 @@ To upgrade Chef Automate with external Elasticsearch from version 3.0.49 to 4.x, 1. Download latest chef-automate cli. ```sh - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` + Replace `` with your commercial license ID. + 2. Start major version upgrade: ```sh @@ -343,9 +349,11 @@ To upgrade from version 3.0.49 to 4.x, follow the steps below: 1. Download latest CLI of Chef Automate. ```sh - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` + Replace `` with your commercial license ID. + 2. Create an Airgap Installation Bundle (AIB). ```sh @@ -355,9 +363,11 @@ To upgrade from version 3.0.49 to 4.x, follow the steps below: OR we can directly download via curl request ```sh - curl https://packages.chef.io/airgap_bundle/current/automate/latest.aib -o automate-4.x.y.aib + curl "https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/latest.aib?license_id=" -o automate-4.x.y.aib ``` + Replace `` with your commercial license ID. + 3. Copy the latest Chef Automate CLI (`chef-automate`) and AIB (`automate-4.x.y.aib`) to the air-gapped machine running Chef Automate. #### On Air-Gapped machine running Chef Automate @@ -516,9 +526,11 @@ To upgrade to version 3.0.49 to 4.x, follow the steps below: 1. Download latest CLI of Chef Automate ```sh - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` + Replace `` with your commercial license ID. + 2. Create an Airgap Installation Bundle (AIB): ```sh @@ -528,9 +540,11 @@ To upgrade to version 3.0.49 to 4.x, follow the steps below: OR we can directly download via curl request ```sh - curl https://packages.chef.io/airgap_bundle/current/automate/latest.aib -o automate-4.x.y.aib + curl "https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/latest.aib?license_id=" -o automate-4.x.y.aib ``` + Replace `` with your commercial license ID. + 3. Copy the latest Chef Automate CLI (`chef-automate`) and AIB (`automate-4.x.y.aib`) to the air-gapped machine running Chef Automate. #### On Air-Gapped machine running Chef Automate @@ -686,11 +700,13 @@ DeploymentServiceCallError: A request to the deployment-service failed: Request To move ahead with the upgrade you can download the latest CLI and Airgapped bundle using the curl command with proxy settings: ```sh -curl -x http://proxy_server:proxy_port --proxy-user username:password -L https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate +curl -x http://proxy_server:proxy_port --proxy-user username:password -L "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate -curl -x http://proxy_server:proxy_port --proxy-user username:password -L https://packages.chef.io/airgap_bundle/current/automate/latest.aib -o automate-latest.aib +curl -x http://proxy_server:proxy_port --proxy-user username:password -L "https://chefdownload-commercial.chef.io/airgap_bundle/current/automate/latest.aib?license_id=" -o automate-latest.aib ``` +Replace `` with your commercial license ID. + After downloading, run the upgrade command with airgapped bundle option: ```sh diff --git a/content/automate/managed_services.md b/content/automate/managed_services.md index 63c1a9e3bc..cb97f173d8 100644 --- a/content/automate/managed_services.md +++ b/content/automate/managed_services.md @@ -453,9 +453,11 @@ If you are planning to set Chef Automate with External AWS PostgreSQL/OpenSearch Download and unzip the Chef Automate command-line tool: ```shell -curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate +curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` +Replace `` with your commercial license ID. + ### Create Default Configuration Create a `config.toml` file with default values for your Chef Automate installation: diff --git a/content/automate/migrate.md b/content/automate/migrate.md index f7ad97e3a0..1aaa65ddac 100644 --- a/content/automate/migrate.md +++ b/content/automate/migrate.md @@ -50,9 +50,11 @@ You will need the `chef-automate` command line tool to initiate your upgrade. 1. Download the latest version of the Chef Automate CLI: ```shell - wget https://packages.chef.io/files/current/automate/latest/chef-automate_linux_amd64.zip + wget "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -O chef-automate_linux_amd64.zip ``` + Replace `` with your commercial license ID. + 2. Unzip the package: ```shell @@ -71,7 +73,8 @@ The Chef Automate upgrade process requires connectivity to the internet to insta The standard Chef Automate installation requires current versions for Chrome, Edge, or Firefox browsers. If you filter internet access via proxy or by other means, you must ensure the following domains are accessible: -* `packages.chef.io` +* `chefdownload-commercial.chef.io` +* `chefdownload-community.chef.io` * `licensing.chef.io` * `raw.githubusercontent.com` * `api.bintray.com` diff --git a/content/automate/on_prem_builder.md b/content/automate/on_prem_builder.md index cf853cb572..fcc0bdcc4d 100644 --- a/content/automate/on_prem_builder.md +++ b/content/automate/on_prem_builder.md @@ -74,9 +74,11 @@ Chef Automate and Chef Habitat Builder require: Download and unzip the installer: ```shell -curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate +curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` +Replace `` with your commercial license ID. + ### Deploy Chef Automate and Chef Habitat Builder On-prem Deploying Chef Habitat Builder with Chef Automate requires a Chef Automate license. diff --git a/content/automate/restore.md b/content/automate/restore.md index 414b2f22db..201d0f4b8f 100644 --- a/content/automate/restore.md +++ b/content/automate/restore.md @@ -21,9 +21,11 @@ Before restoring a Chef Automate installation, see how to [configure your backup 1. On the restore host, download and unzip the Chef Automate command-line tool: ```shell - curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate + curl "https://chefdownload-commercial.chef.io/stable/automate/download?p=linux&m=x86_64&license_id=" -o chef-automate && chmod +x chef-automate ``` + Replace `` with your commercial license ID. + 1. To restore from **filesystem backups**, Chef Automate requires access to a backup directory containing a timestamp-based directory and an `automate-elasticsearch-data` directory in the [configured location]({{< ref "backup.md#backup-to-a-filesystem" >}}). Ensure access for the backup type used: