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 (12) Versions 4.1.0

Installs and configures ArcGIS Pro

Policyfile
Berkshelf
Knife
cookbook 'arcgis-pro', '= 4.1.0', :supermarket
cookbook 'arcgis-pro', '= 4.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: 4.1.0

latest: true

arcgis-pro Cookbook

This cookbook installs and configures ArcGIS Pro.

Supported ArcGIS Pro versions

  • 2.0
  • 2.1
  • 2.2
  • 2.3
  • 2.4
  • 2.5
  • 2.6
  • 2.7
  • 2.8
  • 2.9
  • 3.0
  • 3.0.3
  • 3.1

Platforms

  • Windows 10
  • Windows 11
  • Windows Server 2012 (R2)
  • 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.1
  • 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.0.
  • 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 6.0.5.
  • node['ms_dotnet']['setup'] = Microsoft .NET Framework setup path. The default path is %USERPROFILE%\Software\Esri\windowsdesktop-runtime-6.0.5-win-x64.exe.
  • node['ms_dotnet']['url'] = Microsoft .NET Framework setup URL. The default URL is https://download.visualstudio.microsoft.com/download/pr/5681bdf9-0a48-45ac-b7bf-21b7b61657aa/bbdc43bc7bf0d15b97c1a98ae2e82ec0/windowsdesktop-runtime-6.0.5-win-x64.exe.

Recipes

default

Installs and authorizes ArcGIS Pro.

Attributes used by the recipe:

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

install_pro

Installs ArcGIS Pro.

Attributes used by the recipe:

{
  "arcgis": {
    "pro": {
     "version": "3.1",
     "setup": "C:\\ArcGIS\\ArcGIS Pro 3.1\\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": "6.0.5",
    "setup": "C:\\Software\\Archives\\windowsdesktop-runtime-6.0.5-win-x64.exe"
  },
  "run_list": [
    "recipe[arcgis-pro::ms_dotnet]"
  ]
}

uninstall

Uninstalls ArcGIS Pro of the specified version.

Attributes used by the recipe:

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

patches

Installs ArcGIS Pro patches.

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

Dependent cookbooks

arcgis-repository ~> 4.1
windows ~> 5.3

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.

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
            

4.1.0 passed this metric

Contributing File Metric
            

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

4.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/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): arcgis-pro/resources/pro.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: 37
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: 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/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
            

4.1.0 passed this metric

Testing File Metric
            

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

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