Skip to content

Verify mode is not highlighting the default #10

@russellseymour

Description

@russellseymour

When adding the extension to a machine the default mode for the SSL verification is not being highlighted.

This from MS:

If specified, the value for defaultValue must be a label present in constraints.allowedValues. If not specified, the first item in constraints.allowedValues is selected by default. The default value is null.

The defaultValue is set to peer and not Peer which is what the label is:

{
        "name": "ssl_verify_mode",
        "type": "Microsoft.Common.OptionsGroup",
        "label": "SSL Verification Mode",
        "defaultValue": "peer",
        "toolTip": "SSL peer verification during the chef-client run to the Chef server, default is Verify Peer",
        "constraints": {
          "allowedValues": [
              {
                  "label": "None",
                  "value": "none"
              },
              {
                  "label": "Peer",
                  "value": "peer"
              }
          ]
        }
      }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions