Skip to content

Commit 237b0e3

Browse files
Merge pull request #315 from Esri/v4.0.0
Release v4.0.0
2 parents 1c7f393 + 7581f99 commit 237b0e3

File tree

371 files changed

+15091
-2490
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

371 files changed

+15091
-2490
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Included ArcGIS deployment templates:
3232
* [arcgis-notebook-server](templates/arcgis-notebook-server) - deploys [ArcGIS Notebook Server](https://enterprise.arcgis.com/en/notebook/) with an ArcGIS Enterprise deployment.
3333
* [arcgis-portal](templates/arcgis-portal) - deploys [Portal for ArcGIS](https://enterprise.arcgis.com/en/portal/).
3434
* [arcgis-pro](templates/arcgis-pro) - deploys [ArcGIS Pro](https://www.esri.com/en-us/arcgis/products/arcgis-pro/overview).
35-
* [arcgis-server](templates/arcgis-server) - deploys ArcGIS Server in GIS Server, ArcGIS GeoAnalytics Server, Raster Analytics Server or Image Server roles and federates it with Portal for ArcGIS.
35+
* [arcgis-server](templates/arcgis-server) - deploys ArcGIS Server in GIS Server, ArcGIS GeoAnalytics Server, Raster Analytics Server, Image Server, or Knowledge Server roles and federates it with Portal for ArcGIS.
3636
* [arcgis-webadaptor](templates/arcgis-webadaptor) - deploys [ArcGIS Web Adaptor](https://enterprise.arcgis.com/en/server/latest/install/windows/about-the-arcgis-web-adaptor.htm).
3737
* [arcgis-workflow-manager](templates/arcgis-workflow-manager) - deploys [ArcGIS Workflow Manager Server](https://enterprise.arcgis.com/en/workflow/).
3838

cookbooks/arcgis-desktop/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ arcgis-desktop cookbook CHANGELOG
33

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

6+
4.0.0
7+
-----
8+
- Added support for ArcGIS License Manager 2022.0
9+
610
3.8.0
711
-----
812
- Added support for ArcGIS Desktop 10.8.2 and ArcGIS License Manager 2021.0/2021.1

cookbooks/arcgis-desktop/README.md

Lines changed: 142 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
arcgis-desktop cookbook
2-
===============
1+
---
2+
layout: default
3+
title: "arcgis-desktop cookbook"
4+
category: cookbooks
5+
item: arcgis-desktop
6+
version: 4.0.0
7+
latest: true
8+
---
39

4-
This cookbook installs and configures ArcGIS Desktop and ArcGIS License Manager.
10+
# arcgis-desktop cookbook
511

6-
Requirements
7-
------------
12+
This cookbook installs and configures ArcGIS Desktop and ArcGIS License Manager.
813

9-
### Supported ArcGIS software
14+
## Supported ArcGIS software
1015

1116
* ArcGIS Desktop (Windows only)
1217
* 10.4
@@ -31,8 +36,9 @@ Requirements
3136
* 2020.1
3237
* 2021.0
3338
* 2021.1
39+
* 2022.0
3440

35-
### Platforms
41+
## Platforms
3642

3743
* Windows 10
3844
* Windows Server 2012 (R2)
@@ -44,15 +50,14 @@ Requirements
4450

4551
ArcGIS Desktop is supported only on Windows platforms.
4652

47-
### Dependencies
53+
## Dependencies
4854

4955
The following cookbooks are required:
5056

5157
* windows
5258
* arcgis-repository
5359

54-
Attributes
55-
----------
60+
## Attributes
5661

5762
* `node['arcgis']['version']` = ArcGIS Desktop version. Default value is `10.8.1`.
5863
* `node['arcgis']['desktop']['setup_archive']` = The location of ArcGIS Desktop setup archive. Default value depends on `node['arcgis']['version']` attribute value.
@@ -63,61 +68,140 @@ Attributes
6368
* `node['arcgis']['desktop']['authorization_file']` = ArcGIS Desktop authorization file path. Default location and file name are `C:\\Temp\\license.prvc`.
6469
* `node['arcgis']['desktop']['authorization_file_version']` = ArcGIS Desktop authorization file version. Default value is `10.8`.
6570
* `node['arcgis']['desktop']['esri_license_host']` = Hostname of ArcGIS License Manager. Default hostname is `%COMPUTERNAME%`.
66-
* `node['arcgis']['desktop']['software_class']` = ArcGIS Desktop software class <Viewer|Editor|Professional>. Default value is `Viewer`.
67-
* `node['arcgis']['desktop']['seat_preference']` = ArcGIS Desktop license seat preference <Fixed|Float>. Default value is `Fixed`.
68-
* `node['arcgis']['licensemanager']['version']` = ArcGIS License Manager version. Default value is `2021.1`.
71+
* `node['arcgis']['desktop']['software_class']` = ArcGIS Desktop software class `<Viewer|Editor|Professional>`. Default value is `Viewer`.
72+
* `node['arcgis']['desktop']['seat_preference']` = ArcGIS Desktop license seat preference `<Fixed|Float>`. Default value is `Fixed`.
73+
* `node['arcgis']['licensemanager']['version']` = ArcGIS License Manager version. Default value is `2022.0`.
6974
* `node['arcgis']['licensemanager']['setup_archive']` = The location of ArcGIS License Manager setup archive. Default value depends on `node['arcgis']['version']` attribute value.
70-
* `node['arcgis']['licensemanager']['setup']` = The location of ArcGIS License Manager setup executable. Default location is `%USERPROFILE%\Documents\ArcGIS License Manager 2021.0\LicenseManager\Setup.exe` on Windows, and `/opt/arcgis/2021.1/LicenseManager_Linux/Setup` on Linux.
75+
* `node['arcgis']['licensemanager']['setup']` = The location of ArcGIS License Manager setup executable. Default location is `%USERPROFILE%\Documents\ArcGIS License Manager 2022.0\LicenseManager\Setup.exe` on Windows, and `/opt/arcgis/2022.0/LicenseManager_Linux/Setup` on Linux.
7176
* `node['arcgis']['licensemanager']['lp-setup']` = The location of language pack for ArcGIS License Manager. Default location is `C:\ArcGIS\LicenseManager\SetupFiles\setup.msi`.
7277
* `node['arcgis']['licensemanager']['install_dir']` = ArcGIS License Manager installation directory. By default, the license manager is installed to `%ProgramFiles(x86)%\ArcGIS` on Windows and `/` on Linux.
7378

74-
Recipes
75-
-------
76-
### arcgis-desktop::default
79+
## Recipes
80+
81+
### default
7782

7883
Installs and configures ArcGIS Desktop.
7984

80-
### arcgis-desktop::licensemanager
85+
Attributes used by the recipe:
86+
87+
```JSON
88+
{
89+
"arcgis": {
90+
"version": "10.8.2",
91+
"desktop": {
92+
"setup": "C:\\ArcGIS\\10.8.2\\Desktop\\Setup.exe",
93+
"install_dir": "C:\\Program Files (x86)\\ArcGIS",
94+
"authorization_file": "C:\\ArcGIS\\10.8\\Authorization_Files\\DTBasic.prvc",
95+
"authorization_file_version": "10.8",
96+
"install_features": "ALL",
97+
"software_class": "Viewer",
98+
"seat_preference": "Fixed",
99+
"desktop_config": true,
100+
"modifyflexdacl": false
101+
},
102+
"python": {
103+
"install_dir": "C:\\Python27"
104+
}
105+
},
106+
"run_list":[
107+
"recipe[arcgis-desktop]"
108+
]
109+
}
110+
```
111+
112+
> Software authorization for ArcGIS Desktop is only supported by the cookbook when the "seat_preference" attribute value is "Fixed".
113+
114+
> Chef cookbook [ms_dotnet](https://supermarket.chef.io/cookbooks/ms_dotnet/) could be used to install the .Net Framework version required by ArcGIS for Desktop.
115+
116+
For example:
117+
118+
```JSON
119+
{
120+
"ms_dotnet" : {
121+
"v4" : {
122+
"version" : "4.5.1"
123+
}
124+
},
125+
"run_list":[
126+
"recipe[ms_dotnet::ms_dotnet4]"
127+
]
128+
}
129+
```
130+
131+
### licensemanager
81132

82133
Installs and configures ArcGIS License Manager.
83134

84-
### arcgis-desktop::lp-install
85-
86-
Installs language packs for ArcGIS Desktop and ArcGIS License Manager.
87-
88-
### arcgis-desktop::uninstall
89-
90-
Uninstalls ArcGIS Desktop and ArcGIS License Manager.
91-
92-
Usage
93-
-----
94-
See [wiki](https://github.com/Esri/arcgis-cookbook/wiki) pages for more information about using ArcGIS cookbooks.
95-
96-
## Issues
97-
98-
Find a bug or want to request a new feature? Please let us know by submitting an [issue](https://github.com/Esri/arcgis-cookbook/issues).
99-
100-
## Contributing
101-
102-
Esri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing).
103-
104-
Licensing
105-
---------
106-
107-
Copyright 2021 Esri
108-
109-
Licensed under the Apache License, Version 2.0 (the "License");
110-
You may not use this file except in compliance with the License.
111-
You may obtain a copy of the License at
112-
http://www.apache.org/licenses/LICENSE-2.0
113-
114-
Unless required by applicable law or agreed to in writing, software
115-
distributed under the License is distributed on an "AS IS" BASIS,
116-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
117-
See the License for the specific language governing permissions and
118-
limitations under the License.
119-
120-
A copy of the license is available in the repository's [License.txt](https://github.com/Esri/arcgis-cookbook/blob/master/License.txt?raw=true) file.
121-
122-
[](Esri Tags: ArcGIS Desktop Chef Cookbook)
123-
[](Esri Language: Ruby)
135+
Attributes used by the recipe:
136+
137+
```JSON
138+
{
139+
"arcgis": {
140+
"run_as_user": "arcgis",
141+
"repository": {
142+
"archives": "C:\\Software\\Esri",
143+
"setups": "C:\\Software\\Setups"
144+
},
145+
"licensemanager": {
146+
"version": "2022.0",
147+
"setup": "C:\\Software\\Setups\\License Manager 2022.0\\LicenseManager\\Setup.exe",
148+
"install_dir": "C:\\Program Files (x86)\\ArcGIS"
149+
}
150+
},
151+
"run_list":[
152+
"recipe[arcgis-desktop::licensemanager]"
153+
]
154+
}
155+
```
156+
157+
:grey_exclamation: run_as_user attribute is ignored on Windows.
158+
159+
### lp-install
160+
161+
Installs and configures language packs for ArcGIS Desktop and ArcGIS License Manager.
162+
163+
Attributes used by the recipe:
164+
```JSON
165+
{
166+
"arcgis": {
167+
"version": "10.8.2",
168+
"desktop": {
169+
"lp-setup": "C:\\ArcGIS\\10.8.2\\Desktop\\Japanese\\Setup.exe"
170+
},
171+
"licensemanager": {
172+
"lp-setup": "C:\\ArcGIS\\10.8.2\\LicenseManager\\Japanese\\Setup.exe"
173+
}
174+
},
175+
"run_list":[
176+
"recipe[arcgis-desktop::lp-install]"
177+
]
178+
}
179+
```
180+
181+
:exclamation: Currently lp-install recipe is supported on Windows only.
182+
183+
### uninstall
184+
185+
Uninstalls ArcGIS Desktop and ArcGIS License Manager of the specified ArcGIS version.
186+
187+
Attributes used by the recipe:
188+
189+
```JSON
190+
{
191+
"arcgis": {
192+
"version": "10.8.2",
193+
"run_as_user": "arcgis",
194+
"desktop": {
195+
"install_dir": "C:\\Program Files (x86)\\ArcGIS"
196+
},
197+
"licensemanager": {
198+
"install_dir": "C:\\Program Files (x86)\\ArcGIS"
199+
}
200+
},
201+
"run_list":[
202+
"recipe[arcgis-desktop::uninstall]"
203+
]
204+
}
205+
```
206+
207+
> The arcgis.run_as_user attribute is ignored on Windows.

cookbooks/arcgis-desktop/attributes/licensemanager.rb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Cookbook Name:: arcgis-desktop
33
# Attributes:: licensemanager
44
#
5-
# Copyright 2021 Esri
5+
# Copyright 2022 Esri
66
#
77
# Licensed under the Apache License, Version 2.0 (the "License");
88
# you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
1717
# limitations under the License.
1818

1919
default['arcgis']['licensemanager'].tap do |licensemanager|
20-
licensemanager['version'] = '2021.1'
20+
licensemanager['version'] = '2022.0'
2121

2222
case node['platform']
2323
when 'windows'
@@ -28,6 +28,10 @@
2828
licensemanager['install_dir'] = ENV['ProgramFiles(x86)'] + '\\ArcGIS'
2929

3030
case node['arcgis']['licensemanager']['version']
31+
when '2022.0'
32+
licensemanager['setup_archive'] = ::File.join(node['arcgis']['repository']['archives'],
33+
'ArcGIS_License_Manager_Windows_2022_0_182116.exe').gsub('/', '\\')
34+
licensemanager['product_code'] = '{A3AC9C93-E045-4CAE-AAE4-F62A8E669E02}'
3135
when '2021.1'
3236
licensemanager['setup_archive'] = ::File.join(node['arcgis']['repository']['archives'],
3337
'ArcGIS_License_Manager_Windows_2021_1_180127.exe').gsub('/', '\\')
@@ -90,6 +94,9 @@
9094
licensemanager['install_subdir'] = 'arcgis/license' + node['arcgis']['licensemanager']['version']
9195

9296
case node['arcgis']['licensemanager']['version']
97+
when '2022.0'
98+
licensemanager['setup_archive'] = ::File.join(node['arcgis']['repository']['archives'],
99+
'ArcGIS_License_Manager_Linux_2022_0_182145.tar.gz')
93100
when '2021.1'
94101
licensemanager['setup_archive'] = ::File.join(node['arcgis']['repository']['archives'],
95102
'ArcGIS_License_Manager_Linux_2021_1_180145.tar.gz')

cookbooks/arcgis-desktop/metadata.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
license 'Apache 2.0'
55
description 'Installs and configures ArcGIS Desktop and ArcGIS License Manager'
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version '3.8.0'
8-
chef_version '>= 13.0' if defined? chef_version
7+
version '4.0.0'
8+
chef_version '>= 14.0' if defined? chef_version
99

10-
depends 'arcgis-repository', '~> 3.8'
10+
depends 'arcgis-repository', '~> 4.0'
1111
depends 'windows', '~> 5.3'
1212
depends 'limits', '~> 1.0'
1313

0 commit comments

Comments
 (0)