Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing properties from sampleConfig in Wiki #310

Closed
Biboba opened this issue Mar 21, 2021 · 2 comments
Closed

Missing properties from sampleConfig in Wiki #310

Biboba opened this issue Mar 21, 2021 · 2 comments

Comments

@Biboba
Copy link

Biboba commented Mar 21, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

  • 3.1.1

Affected Resource(s)

  • Wiki and samples config

Expected Behavior

Samples configs should be using variables available in the Wiki.

Actual Behavior

In GISServer-GeneralPurpose-MultipleWA-MultiContext some properties used cannot be found in the Wiki:

{
            "NodeName": "[Machine Name]",
            "Role": [
                "Server",
                "ServerWebAdaptor"
            ],
            "ServerContext":"[Node Server Context]",
            "AdminAccessEnabled": ["False","True"]
 }

I cannot find "ServerContext", "AdminAccessEnabled" properties in a node context. It can be found in the "configData" but not in the Node one. What are they used for ? How do they behave diffently ? I believe they should be explained (cf issue #146) and at least listed !

Steps to Reproduce

Check the Wiki, in node section, properties "ServerContext" and "AdminAccessEnabled" are missing

Thanks !

@cameronkroeker
Copy link
Contributor

@Biboba , thanks for the suggestion. We will work on getting these better defined within the Wiki, Thanks!

AllNodes.ServerContext and AllNodes.AdminAccessEnabled have the same meaning as ConfigData.ServerContext and ConfigData.WebAdaptor.AdminAccessEnabled:

ServerContext - The context of the Server's Web Adaptor.
AdminAccessEnabled - (Optional) This enables access to ArcGIS Server Manager and the ArcGIS Server Admin Directory. The default value is false.

The difference is ConfigData.ServerContext and ConfigData.WebAdaptor.AdminAccessEnabled are global parameters, meaning this will apply to all AllNodes.Role.ServerWebAdaptor that are defined in the json. Whereas, AllNodes.ServerContext and AllNodes.AdminAccessEnabled are specific to each node. AllNodes.ServerContext and AllNodes.AdminAccessEnabled allow for having multiple Server WebAdaptors with different context names.

@cameronkroeker
Copy link
Contributor

@Biboba,

These changes are now included in the v3.3.0 varaible reference wiki page:

https://github.com/Esri/arcgis-powershell-dsc/wiki/v3.3.0-Variables-reference-page-for-JSON-configuration-files

Thanks,
Cameron K.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants