Skip to content

Commit

Permalink
Merge pull request #347 from Esri/4.1.0
Browse files Browse the repository at this point in the history
Release  4.1.0
  • Loading branch information
cameronkroeker committed Apr 24, 2023
2 parents 237b0e3 + 8a37b6a commit b6eba15
Show file tree
Hide file tree
Showing 354 changed files with 10,033 additions and 785 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Expand Up @@ -64,3 +64,16 @@ cookbooks/arcgis/Berksfile.lock
local-mode-cache
chef_guid
nodes

# Terraform
.terraform
.terraform.*
*.tfstate
*.tfstate.*

# Packer
packer-manifest.json
packer-manifest.json.lock

# Python
*.pyc
4 changes: 4 additions & 0 deletions cookbooks/arcgis-desktop/CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@ arcgis-desktop cookbook CHANGELOG

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

4.1.0
-----
- Added support for ArcGIS License Manager 2022.1

4.0.0
-----
- Added support for ArcGIS License Manager 2022.0
Expand Down
11 changes: 6 additions & 5 deletions cookbooks/arcgis-desktop/README.md
Expand Up @@ -3,7 +3,7 @@ layout: default
title: "arcgis-desktop cookbook"
category: cookbooks
item: arcgis-desktop
version: 4.0.0
version: 4.1.0
latest: true
---

Expand Down Expand Up @@ -37,6 +37,7 @@ This cookbook installs and configures ArcGIS Desktop and ArcGIS License Manager.
* 2021.0
* 2021.1
* 2022.0
* 2022.1

## Platforms

Expand Down Expand Up @@ -70,9 +71,9 @@ The following cookbooks are required:
* `node['arcgis']['desktop']['esri_license_host']` = Hostname of ArcGIS License Manager. Default hostname is `%COMPUTERNAME%`.
* `node['arcgis']['desktop']['software_class']` = ArcGIS Desktop software class `<Viewer|Editor|Professional>`. Default value is `Viewer`.
* `node['arcgis']['desktop']['seat_preference']` = ArcGIS Desktop license seat preference `<Fixed|Float>`. Default value is `Fixed`.
* `node['arcgis']['licensemanager']['version']` = ArcGIS License Manager version. Default value is `2022.0`.
* `node['arcgis']['licensemanager']['version']` = ArcGIS License Manager version. Default value is `2022.1`.
* `node['arcgis']['licensemanager']['setup_archive']` = The location of ArcGIS License Manager setup archive. Default value depends on `node['arcgis']['version']` attribute value.
* `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.
* `node['arcgis']['licensemanager']['setup']` = The location of ArcGIS License Manager setup executable. Default location is `%USERPROFILE%\Documents\ArcGIS License Manager 2022.1\LicenseManager\Setup.exe` on Windows, and `/opt/arcgis/2022.1/LicenseManager_Linux/Setup` on Linux.
* `node['arcgis']['licensemanager']['lp-setup']` = The location of language pack for ArcGIS License Manager. Default location is `C:\ArcGIS\LicenseManager\SetupFiles\setup.msi`.
* `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.

Expand Down Expand Up @@ -143,8 +144,8 @@ Attributes used by the recipe:
"setups": "C:\\Software\\Setups"
},
"licensemanager": {
"version": "2022.0",
"setup": "C:\\Software\\Setups\\License Manager 2022.0\\LicenseManager\\Setup.exe",
"version": "2022.1",
"setup": "C:\\Software\\Setups\\License Manager 2022.1\\LicenseManager\\Setup.exe",
"install_dir": "C:\\Program Files (x86)\\ArcGIS"
}
},
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/arcgis-desktop/attributes/default.rb
Expand Up @@ -19,7 +19,7 @@
include_attribute 'arcgis-repository'

default['arcgis']['run_as_user'] = 'arcgis'
default['arcgis']['run_as_password'] = 'Pa$$w0rdPa$$w0rd'
default['arcgis']['run_as_password'] = nil
default['arcgis']['version'] = '10.8.1'

case node['platform']
Expand Down
11 changes: 9 additions & 2 deletions cookbooks/arcgis-desktop/attributes/licensemanager.rb
Expand Up @@ -2,7 +2,7 @@
# Cookbook Name:: arcgis-desktop
# Attributes:: licensemanager
#
# Copyright 2022 Esri
# Copyright 2023 Esri
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -17,7 +17,7 @@
# limitations under the License.

default['arcgis']['licensemanager'].tap do |licensemanager|
licensemanager['version'] = '2022.0'
licensemanager['version'] = '2022.1'

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

case node['arcgis']['licensemanager']['version']
when '2022.1'
licensemanager['setup_archive'] = ::File.join(node['arcgis']['repository']['archives'],
'ArcGIS_License_Manager_Windows_2022_1_184717.exe').gsub('/', '\\')
licensemanager['product_code'] = '{96804860-2C2F-4448-AE47-76CB160AD043}'
when '2022.0'
licensemanager['setup_archive'] = ::File.join(node['arcgis']['repository']['archives'],
'ArcGIS_License_Manager_Windows_2022_0_182116.exe').gsub('/', '\\')
Expand Down Expand Up @@ -94,6 +98,9 @@
licensemanager['install_subdir'] = 'arcgis/license' + node['arcgis']['licensemanager']['version']

case node['arcgis']['licensemanager']['version']
when '2022.1'
licensemanager['setup_archive'] = ::File.join(node['arcgis']['repository']['archives'],
'ArcGIS_License_Manager_Linux_2022_1_184756.tar.gz')
when '2022.0'
licensemanager['setup_archive'] = ::File.join(node['arcgis']['repository']['archives'],
'ArcGIS_License_Manager_Linux_2022_0_182145.tar.gz')
Expand Down
4 changes: 2 additions & 2 deletions cookbooks/arcgis-desktop/metadata.rb
Expand Up @@ -4,10 +4,10 @@
license 'Apache 2.0'
description 'Installs and configures ArcGIS Desktop and ArcGIS License Manager'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '4.0.0'
version '4.1.0'
chef_version '>= 14.0' if defined? chef_version

depends 'arcgis-repository', '~> 4.0'
depends 'arcgis-repository', '~> 4.1'
depends 'windows', '~> 5.3'
depends 'limits', '~> 1.0'

Expand Down
10 changes: 10 additions & 0 deletions cookbooks/arcgis-egdb/CHANGELOG.md
Expand Up @@ -3,6 +3,16 @@ arcgis-egdb cookbook CHANGELOG

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

1.1.1
-----

- Don't log database passwords.

1.1.0
-----

- Ported scripts to python 3.

1.0.2
-----
- Use SQL Server RDS endpoint instead of EGDBHOST alias.
Expand Down
1 change: 0 additions & 1 deletion cookbooks/arcgis-egdb/README.md
Expand Up @@ -15,7 +15,6 @@ The arcgis-egdb cookbook creates enterprise geodatabases in SQL Server or Postgr

* Windows 8 (8.1)
* Windows 10
* Windows Server 2008 (R2)
* Windows Server 2012 (R2)
* Windows Server 2016
* Windows Server 2019
Expand Down
4 changes: 2 additions & 2 deletions cookbooks/arcgis-egdb/metadata.rb
Expand Up @@ -4,10 +4,10 @@
license 'Apache 2.0'
description 'Creates enterprise geodatabases in SQL Server or PostgreSQL DBMS and registers them with ArcGIS Server.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.1.0'
version '1.1.1'
chef_version '>= 14.0' if defined? chef_version

depends 'arcgis-enterprise', '~> 4.0'
depends 'arcgis-enterprise', '~> 4.1'

supports 'windows'
supports 'ubuntu'
Expand Down
1 change: 1 addition & 0 deletions cookbooks/arcgis-egdb/recipes/egdb_postgres.rb
Expand Up @@ -69,6 +69,7 @@
execute 'Create EGDB in PostgreSQL' do
cwd node['arcgis']['misc']['scripts_dir']
live_stream true
sensitive true
if node['platform'] == 'windows'
command [::File.join(node['arcgis']['misc']['scripts_dir'],'RDS_postgres.bat'),
node['arcgis']['egdb']['endpoint'],
Expand Down
1 change: 1 addition & 0 deletions cookbooks/arcgis-egdb/recipes/egdb_sqlserver.rb
Expand Up @@ -71,6 +71,7 @@
end

execute 'Create EGDB in SQL Server' do
sensitive true
command ['PowerShell.exe', '-file',
"\"#{::File.join(node['arcgis']['misc']['scripts_dir'],
'RDS_Creation.ps1')}\"",
Expand Down
@@ -1,6 +1,7 @@
#!/bin/sh

POSTGRESBIN="<%=@postgres_bin%>";export POSTGRESBIN
LD_LIBRARY_PATH="<%=@postgres_bin%>/../lib:<%=@postgres_bin%>/../lib64";export LD_LIBRARY_PATH
SCRIPTLOCATION="<%=@scripts_dir%>";export SCRIPTLOCATION
KEYCODES="<%=@keycodes%>";export KEYCODES
PYTHONPATH="<%=@pythonpath%>";export PYTHONPATH
Expand Down
4 changes: 4 additions & 0 deletions cookbooks/arcgis-enterprise/CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@ arcgis-enterprise cookbook CHANGELOG

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

4.1.0
-----
- Added support for ArcGIS Enterprise 11.1

4.0.0
-----
- Added support for ArcGIS Enterprise 11.0
Expand Down

0 comments on commit b6eba15

Please sign in to comment.