Skip to content

arcgis‐repository cookbook recipes

Pavel Bobov edited this page Mar 21, 2019 · 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_10124.exe":{
               "subfolder":"software/arcgis_daily/10.7"
            },
            "ArcGIS_Server_10124.exe":{
               "subfolder":"software/arcgis_daily/10.7",
               "checksum":"7CDD2B78BA2C49D4C81882E6211EDCB1BAFCD8BBE64BDF89C2D538BF48F3CDDD"
            }
         }
      }
   },
   "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_DataStore_Linux_107_167719.tar.gz": {
             "subfolder": "10450/setups",
             "checksum": "A8DBE53A19838120ED99D352654174B37B31163E173AD0D26B47A15872E4245C"
           },
           "ArcGIS_Server_Linux_107_167707.tar.gz": {
             "subfolder": "10450/setups",
             "checksum": "350B985F8CF900A27C0043561CFA092930A1CCA2352A1DECABA4DD378ECA1492"
            },
            "Portal_for_ArcGIS_Linux_107_167718.tar.gz": {
              "subfolder": "10450/setups",
              "checksum": "12E362E7542EF1BB3EB04E605BB99F1B1D181644C4E7C6C2B19B6601AF50595B"
            },
            "Web_Adaptor_Java_Linux_107_167720.tar.gz": {
              "subfolder": "10450/setups",
              "checksum": "F0773EE8BFF83FFFB40FB0AF232BCB988BCF49B4491A1BAD6F8852F71AA7B3A6"
            }
         }
      }
   },
   "run_list":[
      "recipe[arcgis-repository::s3files]"
   ]
}
Clone this wiki locally