Skip to content

arcgis‐repository cookbook recipes

Cameron Kroeker edited this page May 6, 2021 · 5 revisions

arcgis-repository cookbook downloads ArcGIS software setups from remote to local repositories.

Brief descriptions of arcgis-enterprise cookbook recipes along with cookbook attributes are available at README.md. This page provides more detailed descriptions of the recipes and specifies attributes used by each recipe.

node['arcgis']['repository']['archives'] attribute defines path to local ArcGIS software repository with ArcGIS software setup archives. If setup archive for the specified software version is found in the local repository and node['arcgis'][...]['setup'] path is not explicitly specified, the setup is extracted from the archive to the setups repository specified by node['arcgis']['repository']['setups'] attribute and is used to install the software.

default

Downloads files from remote ArcGIS software repository to local repository specified by node['arcgis']['repository']['local_archives'] attribute.

Attributes used by the recipe:

{
   "arcgis":{
      "repository":{
         "local_archives":"C:\\Temp\\Software\\Esri",
         "server":{
            "url":"https://downloads.arcgis.com/dms/rest/download/secured",
            "key":"<arcgis_online_token>"
         },
         "files":{
            "ArcGIS_DataStore_Windows_109_177788.exe":{
               "subfolder":"10.9/setups"
            },
            "ArcGIS_Server_Windows_109_177775.exe":{
               "subfolder":"10.9/setups"
            },
            "Portal_for_ArcGIS_Windows_109_177786.exe": {
              "subfolder": "10.9/setups"
            },
            "Portal_for_ArcGIS_Web_Styles_Windows_109_177787.exe": {
              "subfolder": "10.9/setups"
            },
            "ArcGIS_Web_Adaptor_for_Microsoft_IIS_109_177789.exe": {
              "subfolder": "10.9/setups"
            }
         }
      }
   },
   "run_list":[
      "recipe[arcgis-repository]"
   ]
}

s3files

Downloads files from ArcGIS software repository in S3 to local repository specified by node['arcgis']['repository']['local_archives'] attribute.

Attributes used by the recipe:

{
   "arcgis":{
      "repository":{
         "local_archives":"/opt/software/esri",
         "server":{
            "s3bucket":"mybucket",
            "aws_access_key":"<access_key>",
            "aws_secret_access_key":"<secret_key>"
         },
         "files": {
          "ArcGIS_Server_Linux_109_177864.tar.gz": {
            "subfolder": "10.9/setups"
          },
          "Portal_for_ArcGIS_Linux_109_177885.tar.gz": {
            "subfolder": "10.9/setups"
          },
          "Portal_for_ArcGIS_Web_Styles_Linux_109_177886.tar.gz": {
            "subfolder": "10.9/setups"
          },
          "ArcGIS_DataStore_Linux_109_177887.tar.gz": {
            "subfolder": "10.9/setups"
          },
          "ArcGIS_Web_Adaptor_Java_Linux_109_177888.tar.gz": {
            "subfolder": "10.9/setups"
          }
        }
      }
   },
   "run_list":[
      "recipe[arcgis-repository::s3files]"
   ]
}
Clone this wiki locally