Esri / arcgis-powershell-dsc

This repository contains scripts, code and samples for automating the install and configuration of ArcGIS (Enterprise and Desktop) using Microsoft Windows PowerShell DSC (Desired State Configuration).
Apache License 2.0
113 stars 61 forks source link

4.2: GISServer-GeneralPurpose-MultipleWA-MultiContext.json Uses AllNodes.WebAdaptorConfig.ServerContext Instead of AllNodes.WebAdaptorConfig.Context #516

Open ZianAtFirstWatch opened 8 months ago

ZianAtFirstWatch commented 8 months ago

Community Note

Module Version

Affected Resource(s)

Configuration Files

# Copy-paste your DSC JSON configurations here - for large configs,
# please use a service like Dropbox and share a link to the ZIP file.

Expected Behavior

https://github.com/Esri/arcgis-powershell-dsc/wiki/v4.2.0-Variables-reference-page-for-JSON-configuration-files says WebAdaptorConfig should have a property named "Context".

Actual Behavior

https://github.com/Esri/arcgis-powershell-dsc/blob/main/SampleConfigs/v4/v4.2.0/Gis%20Servers/GISServer-GeneralPurpose-MultipleWA-MultiContext.json does not have a property named "Context". Instead, it has a property named "ServerContext", which is not part of WebAdaptorConfig,.

Steps to Reproduce

  1. Look at https://github.com/Esri/arcgis-powershell-dsc/blob/main/SampleConfigs/v4/v4.2.0/Gis%20Servers/GISServer-GeneralPurpose-MultipleWA-MultiContext.json.

Important Factoids

References