-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
Description
The following error will occur when using the recipe[arcgis-repository::patches]
recipe to download patches for all versions and products:
FATAL: RuntimeError: arcgis_repository_patches[Download ArcGIS patches from remote repository] (arcgis-repository::patches line 27) had an error: RuntimeError: URL https://downloads.esri.com/patch_notification/patches.json is not available.
This is because https://downloads.esri.com/patch_notification/patches.json
now redirects to https://content.esri.com/patch_notification/patches.json
.
Workaround option 1: Most recommended approach
Add attribute node['arcgis']['repository']['patch_notification']['url']
to the chef json config file and set its value to https://content.esri.com/patch_notification/patches.json
so that it will override the default. For example:
{
"arcgis": {
"repository": {
"patch_notification": {
"url": "https://content.esri.com/patch_notification/patches.json"
}
}
}
}
Workaround option 2: Requires modifying the cookbook
Change this:
repository['patch_notification']['url'] = 'https://downloads.esri.com/patch_notification/patches.json' |
to:
repository['patch_notification']['url'] = 'https://content.esri.com/patch_notification/patches.json'