cookbook 'arcgis-repository', '= 3.4.0', :supermarket
arcgis-repository (5) Versions 3.4.0 Follow2
Downloads ArcGIS software setups from remote to local repositories
cookbook 'arcgis-repository', '= 3.4.0'
knife supermarket install arcgis-repository
knife supermarket download arcgis-repository
arcgis-repository cookbook
arcgis-repository cookbook downloads ArcGIS software setup archives from remote to local repositories.
Requirements
Supported ArcGIS versions
- 10.7
- 10.7.1
Platforms
- Windows 7
- Windows 8 (8.1)
- Windows 10
- Windows Server 2008 (R2)
- Windows Server 2012 (R2)
- Windows Server 2016
- Windows Server 2019
- Ubuntu 14.04, 16.04, 18.04
- Rhel 6.5, 7.0
Dependencies
The following cookbooks are required:
- s3_file
Attributes
-
node['arcgis']['repository']['setups']
= Path to folder with ArcGIS software setups. Default path is%USERPROFILE%\Documents
on Windows and/opt/arcgis
on Linux. -
node['arcgis']['repository']['archives']
= Local or network ArcGIS software repository path. The default path on windows is%USERPROFILE%\\Software\\Esri
, on Linux/opt/software/esri
. -
node['arcgis']['repository']['local_archives']
= Local ArcGIS software repository path. The default path on windows is%USERPROFILE%\\Software\\Esri
, on Linux/opt/software/esri
. -
node['arcgis']['repository']['patches']
= Path to folder with hot fixes and patches for ArcGIS Enterprise software. The default path on Windows is%USERPROFILE%\Software\Esri\Patches
, on Linux is/opt/software/esri/patches
. -
node['arcgis']['repository']['server']['url']
= Remote ArcGIS software repository URL. The Default URL ishttps://downloads.arcgis.com/dms/rest/download/secured
. -
node['arcgis']['repository']['server']['key']
= Remote ArcGIS software repository key. -
node['arcgis']['repository']['server']['s3bucket']
= Remote ArcGIS software repository S3 bucket name. -
node['arcgis']['repository']['server']['aws_access_key']
= AWS access key ID. -
node['arcgis']['repository']['server']['aws_secret_access_key']
= AWS secret access key. -
node['arcgis']['repository']['files']
= file names mapped to SHA256 checksum and the remote path subfolder attributes. Default value isnil
.
Recipes
arcgis-repository::default
Downloads files from remote ArcGIS software repository to local repository specified by node['arcgis']['repository']['local_archives']
attribute.
arcgis-repository::s3files
Downloads files from ArcGIS software repository in S3 to local repository specified by node['arcgis']['repository']['local_archives']
attribute.
Examples
arcgis-repository::default recipe attributes use example.
{
"arcgis":{
"repository":{
"archives":"C:\\Temp\\Software\\Esri",
"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]"
]
}
arcgis-repository::s3files recipe use example.
{
"arcgis":{
"repository":{
"archives":"/opt/software/esri",
"local_archives":"/opt/software/esri",
"server":{
"s3bucket":"arcgisstore107-us-east-1",
"aws_access_key":"<access_key>",
"aws_secret_access_key":"<secret_key>"
},
"files":{
"ArcGIS_DataStore_Linux_107_167719.tar.gz":{
"subfolder":"10450/setups"
},
"ArcGIS_Server_Linux_107_167707.tar.gz":{
"subfolder":"10450/setups"
}
}
}
},
"run_list":[
"recipe[arcgis-repository::s3files]"
]
}
arcgis-repository cookbook CHANGELOG
This file is used to list changes made in each version of the arcgis-repository cookbook.
3.4.0
- Use s3_file cookbook instead of aws cookbook to download files from S3.
3.3.0
- First release of the cookbook
Collaborator Number Metric
3.4.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
3.4.0 passed this metric
No Binaries Metric
3.4.0 passed this metric
Publish Metric
3.4.0 passed this metric
Supported Platforms Metric
3.4.0 passed this metric
Testing File Metric
3.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.4.0 passed this metric
3.4.0 failed this metric
3.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
3.4.0 passed this metric
No Binaries Metric
3.4.0 passed this metric
Publish Metric
3.4.0 passed this metric
Supported Platforms Metric
3.4.0 passed this metric
Testing File Metric
3.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.4.0 passed this metric
3.4.0 passed this metric
3.4.0 passed this metric
Publish Metric
3.4.0 passed this metric
Supported Platforms Metric
3.4.0 passed this metric
Testing File Metric
3.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.4.0 passed this metric
3.4.0 passed this metric
3.4.0 passed this metric
Testing File Metric
3.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.4.0 passed this metric
3.4.0 failed this metric
3.4.0 passed this metric