Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

arcgis-pro (14) Versions 5.1.0

Installs and configures ArcGIS Pro

Policyfile
Berkshelf
Knife
cookbook 'arcgis-pro', '~> 5.1.0', :supermarket
cookbook 'arcgis-pro', '~> 5.1.0'
knife supermarket install arcgis-pro
knife supermarket download arcgis-pro
README
Dependencies
Changelog
Quality 33%

layout: default
title: "arcgis-pro cookbook"
category: cookbooks
item: arcgis-pro
version: 5.1.0

latest: true

arcgis-pro Cookbook

This cookbook installs and configures ArcGIS Pro.

Supported ArcGIS Pro versions

  • 2.9
  • 3.0
  • 3.0.3
  • 3.1
  • 3.2
  • 3.3
  • 3.4

Platforms

  • Windows 10
  • Windows 11
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

Dependencies

The following cookbooks are required:

  • windows
  • arcgis-repository

Attributes

  • node['arcgis']['pro']['version'] = ArcGIS Pro version. Default version is 3.4
  • node['arcgis']['pro']['setup_archive'] = Path to ArcGIS Pro setup archive. Default value depends on the node['arcgis']['pro']['version'] attribute value.
  • node['arcgis']['pro']['setup'] = The location of the ArcGIS Pro setup msi. Default location is C:\Temp\ArcGISPro\ArcGISPro.msi.
  • node['arcgis']['pro']['install_dir'] = ArcGIS Pro installation directory. Default installation directory is %ProgramFiles%\ArcGIS\Pro.
  • node['arcgis']['pro']['blockaddins'] = Configures the types of add-ins that ArcGIS Pro will load. Default value is '0'.
  • node['arcgis']['pro']['portal_list'] = ArcGIS Portal URLs. Default value is https://www.arcgis.com/.
  • node['arcgis']['pro']['allusers'] = Defines the installation context of ArcGIS Pro (1 - per machine, 2 - per user). Default value is '1'.
  • node['arcgis']['pro']['software_class'] = ArcGIS Pro software class <Viewer|Editor|Professional>. Default value is Viewer.
  • node['arcgis']['pro']['authorization_type'] = ArcGIS Pro authorization_type <SINGLE_USE | CONCURRENT_USE | NAMED_USER>. Default value is NAMED_USER.
  • node['arcgis']['pro']['esri_license_host'] = Host name of ArcGIS License Manager. Default host name is %COMPUTERNAME%.
  • node['arcgis']['pro']['authorization_file'] = ArcGIS Pro authorization file path.
  • node['arcgis']['pro']['authorization_file_version'] = ArcGIS Pro authorization file version. Default version is 11.3.
  • node['arcgis']['pro']['lock_auth_settings'] = During a silent, per-machine installation of ArcGIS Pro, if the authorization type is defined, this attribute is set to true under HKEY_LOCAL_MACHINE\SOFTWARE\Esri\ArcGISPro\Licensing. When the lock_auth_settings attribute is set to true, the licensing settings in the registry apply to all ArcGIS Pro users on that machine; an individual user cannot make changes. To allow ArcGIS Pro users on the machine to define their own authorization settings through the ArcGIS Pro application, set lock_auth_settings to false. This property does not apply to a per-user installation. The default value is false.
  • node['arcgis']['repository']['archives'] = Path to the folder with the ArcGIS Pro software setup archives. Default path is %USERPROFILE%\Software\Esri.
  • node['arcgis']['repository']['patches'] = Path to the folder with hot fixes and patches for ArcGIS Pro software. The default path is %USERPROFILE%\Software\Esri\Patches.
  • node['arcgis']['patches']['local_patch_folder'] = Path to a local folder with hot fixes and patches for ArcGIS Pro software. The default path is %USERPROFILE%\Software\Esri\Patches.
  • node['ms_dotnet']['version'] = Microsoft .NET Framework version. The default version is 8.0.3.
  • node['ms_dotnet']['setup'] = Microsoft .NET Framework setup path. The default path is %USERPROFILE%\Software\Esri\windowsdesktop-runtime-8.0.3-win-x64.exe.
  • node['ms_dotnet']['url'] = Microsoft .NET Framework setup URL. The default URL is https://download.visualstudio.microsoft.com/download/pr/51bc18ac-0594-412d-bd63-18ece4c91ac4/90b47b97c3bfe40a833791b166697e67/windowsdesktop-runtime-8.0.3-win-x64.exe.
  • node['webview2']['setup'] = Microsoft Edge WebView2 setup path. The default path is %USERPROFILE%\Software\Esri\MicrosoftEdgeWebview2Setup.exe.
  • node['webview2']['url'] = Microsoft Edge WebView2 setup URL. The default URL is https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/4af8eb86-208b-4fb7-952b-af2a783d5c14/MicrosoftEdgeWebview2Setup.exe.

Recipes

default

Installs and authorizes ArcGIS Pro.

Attributes used by the recipe:

{
  "arcgis": {
    "pro": {
      "version": "3.4",
      "authorization_file_version": "11.4",
      "setup": "C:\\ArcGIS\\ArcGIS Pro 3.4\\ArcGISPro\\ArcGISPro.msi",
      "allusers": 1,
      "authorization_type": "SINGLE_USE",
      "software_class": "Professional",  
      "portal_list": "https://domain.com/portal",
      "authorization_file": "C:\\ArcGIS\\11.3\\Authorization_Files\\Pro.prvc"    
    }
  },
  "run_list": [
    "recipe[arcgis-pro]"
  ]
}

install_pro

Installs ArcGIS Pro.

Attributes used by the recipe:

{
  "arcgis": {
    "pro": {
     "version": "3.4",
     "setup": "C:\\ArcGIS\\ArcGIS Pro 3.4\\ArcGISPro\\ArcGISPro.msi",
     "allusers": 1  
    }
  },
  "run_list": [
    "recipe[arcgis-pro::install_pro]"
  ]
}

ms_dotnet

Installs Microsoft .Net Framework (may require a machine reboot after chef run completes).

Attributes used by the recipe:

{
  "ms_dotnet": {
    "version": "8.0.3",
    "setup": "C:\\Software\\Archives\\windowsdesktop-runtime-8.0.3-win-x64.exe"
  },
  "run_list": [
    "recipe[arcgis-pro::ms_dotnet]"
  ]
}

patches

Installs ArcGIS Pro patches.

{
  "arcgis":{
    "patches" : {
       "local_patch_folder" : "C:\\ArcGIS\\Patches"
     }   
  },
  "run_list":[
    "recipe[arcgis-pro::patches]"
  ]
}

uninstall

Uninstalls ArcGIS Pro of the specified version.

Attributes used by the recipe:

{
  "arcgis": {
    "pro": {
      "version": "3.4"
    }
  },
  "run_list":[
    "recipe[arcgis-pro::uninstall]"
  ]
}

webview2

Installs Microsoft Edge WebView2.

Attributes used by the recipe:

{
  "webview2": {
    "setup": "C:\\Software\\Archives\\MicrosoftEdgeWebview2Setup.exe"
  },
  "run_list": [
    "recipe[arcgis-pro::webview2]"
  ]
}

Dependent cookbooks

arcgis-repository ~> 5.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

arcgis-pro cookbook CHANGELOG

This file is used to list changes made in each version of the arcgis-pro cookbook.

5.1.0

  • Added support for ArcGIS Pro 3.4.

5.0.0

  • Added support for ArcGIS Pro 3.3.

4.2.0

  • Added support for ArcGIS Pro 3.2.

4.1.0

  • Added support for ArcGIS Pro 3.0.3/3.1.

4.0.0

  • Added support for ArcGIS Pro 3.0.
  • Support for installing .NET 6 Desktop Runtime x64

3.8.0

  • Added support for ArcGIS Pro 2.8/2.9.
  • Added ms_dotnet recipe.

3.7.0

  • Added support for ArcGIS Pro 2.7.

3.6.1

  • Added support for Chef Client 15.

3.6.0

  • Added support for ArcGIS Pro 2.6.

3.5.0

  • Added support for ArcGIS Pro 2.5.
  • Updated versions of dependent cookbooks.

3.4.0

  • Updated and locked versions of dependent cookbooks.

3.3.0

  • Added support for ArcGIS Pro 2.3/2.4.
  • Added dependency on new arcgis-repository cookbook to support global ArcGIS software repository in S3.

3.2.1

  • Added support for ArcGIS Pro 2.2.
  • Added patches recipe
  • Added 3 installation modes for ArcGIS Pro : SINGLE_USE | CONCURRENT_USE | NAMED_USER
  • Add ec2 test kitchen
  • Update default attributes of pro setup.

3.2.0

  • Added support for ArcGIS Pro 2.1.

3.1.0

  • Added support for ArcGIS Pro 2.0.

3.0.0

  • Added support for ArcGIS Pro 1.4.

2.3.1

  • Added support for ArcGIS Pro 1.3.

2.3.0

  • This version supports ArcGIS Pro 1.1, 1.2, and 1.3 Beta.
  • Split from 'arcgis' cookbook.

Collaborator Number Metric
            

5.1.0 passed this metric

Contributing File Metric
            

5.1.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

Cookstyle Metric
            

5.1.0 failed this metric

Chef/Correctness/MetadataMissingVersion: metadata.rb should define a version for the cookbook. (https://docs.chef.io/workstation/cookstyle/chef_correctness_metadatamissingversion): arcgis-pro/test/fixtures/cookbooks/download-setups-s3/metadata.rb: 1
Chef/Deprecations/UseInlineResourcesDefined: use_inline_resources is now the default for resources in Chef Infra Client 13+ and does not need to be specified. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_useinlineresourcesdefined): arcgis-pro/providers/pro.rb: 19
Chef/Modernize/DefaultActionFromInitialize: The default action of a resource can be set with the "default_action" helper instead of using the initialize method. (https://docs.chef.io/workstation/cookstyle/chef_modernize_defaultactionfrominitialize): arcgis-pro/resources/pro.rb: 39
Chef/Modernize/RespondToInMetadata: It is no longer necessary to use respond_to? or defined? in metadata.rb in Chef Infra Client 12.15 and later (https://docs.chef.io/workstation/cookstyle/chef_modernize_respondtoinmetadata): arcgis-pro/metadata.rb: 8
Chef/Modernize/RespondToInMetadata: It is no longer necessary to use respond_to? or defined? in metadata.rb in Chef Infra Client 12.15 and later (https://docs.chef.io/workstation/cookstyle/chef_modernize_respondtoinmetadata): arcgis-pro/metadata.rb: 21
Chef/Modernize/RespondToInMetadata: It is no longer necessary to use respond_to? or defined? in metadata.rb in Chef Infra Client 12.15 and later (https://docs.chef.io/workstation/cookstyle/chef_modernize_respondtoinmetadata): arcgis-pro/metadata.rb: 22
Chef/Modernize/SevenZipArchiveResource: Use the archive_file resource built into Chef Infra Client 15+ instead of the seven_zip_archive (https://docs.chef.io/workstation/cookstyle/chef_modernize_sevenziparchiveresource): arcgis-pro/test/fixtures/cookbooks/download-setups-s3/recipes/auth_files.rb: 23
Chef/Modernize/SevenZipArchiveResource: Use the archive_file resource built into Chef Infra Client 15+ instead of the seven_zip_archive (https://docs.chef.io/workstation/cookstyle/chef_modernize_sevenziparchiveresource): arcgis-pro/test/fixtures/cookbooks/download-setups-s3/recipes/pro.rb: 15
Chef/RedundantCode/LongDescriptionMetadata: The long_description metadata.rb method is not used and is unnecessary in cookbooks. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_longdescriptionmetadata): arcgis-pro/metadata.rb: 6
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): arcgis-pro/metadata.rb: 14
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): arcgis-pro/metadata.rb: 15
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): arcgis-pro/metadata.rb: 16
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): arcgis-pro/metadata.rb: 17
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): arcgis-pro/metadata.rb: 18
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): arcgis-pro/metadata.rb: 19
Chef/RedundantCode/UseCreateIfMissing: Use the :create_if_missing action instead of not_if with a ::File.exist(FOO) check. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_usecreateifmissing): arcgis-pro/recipes/ms_dotnet.rb: 28
Chef/RedundantCode/UseCreateIfMissing: Use the :create_if_missing action instead of not_if with a ::File.exist(FOO) check. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_usecreateifmissing): arcgis-pro/recipes/webview2.rb: 28
Chef/Sharing/InvalidLicenseString: Cookbook metadata.rb does not use a SPDX compliant license string or "all rights reserved". See https://spdx.org/licenses/ for a complete list of license identifiers. (https://docs.chef.io/workstation/cookstyle/chef_sharing_invalidlicensestring): arcgis-pro/metadata.rb: 4

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

5.1.0 passed this metric

Testing File Metric
            

5.1.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
            

5.1.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 include a tag that matches this cookbook version number