Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 2.3 KB

Globals.adoc

File metadata and controls

97 lines (73 loc) · 2.3 KB

DSC Resource 'Globals'

Globals contains global configuration attributes.

Source

DSC Resource

Documentation

Note

All attributes from category 'Globals' are root attributes and have no parent category in the YAML files. They must be placed in the AllNodes section and are part of the Configuration Data (see Using configuration data in DSC).

Table 1. Attributes of category 'Globals'
Parameter Attribute DataType Description Allowed Values

NodeName

Key

String

Name of the current node (computer)

PsDscAllowPlainTextPassword

Boolean

DSC configurations containing a credential without encryption will generate an error message about plain text passwords. To suppress these error and warning messages use this DSC configuration data keyword.

Default: $false

PsDscAllowDomainUser

Boolean

DSC configurations containing domain credentials will generate an error message. To suppress these error and warning messages use this DSC configuration data keyword.

Default: $false

Example
NodeName: Server01
Role:     FileServer

LogPath:  C:\Logs

PsDscAllowPlainTextPassword: True
PsDscAllowDomainUser: True
Recommended Lookup Options in Datum.yml (Excerpt)
default_lookup_options: MostSpecific

lookup_options:

  LcmConfig:
    merge_hash: deep
  LcmConfig\Settings:
    merge_hash: deep
  LcmConfig\ReportServerWeb: deep
  LcmConfig\ConfigurationRepositoryWeb:
    merge_hash: deep
  LcmConfig\ConfigurationRepositoryWeb\Server:
    merge_hash: deep