-
Notifications
You must be signed in to change notification settings - Fork 56
DSC meta configuration #574
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
Conversation
1d5d25b to
e63e3c3
Compare
|
To clarify, the scope of this initial PR is just to get DSC working with the settings/policy files, correct? The CLI / resource for getting and defining the values will follow in a future PR? |
Yes and Yes. |
SteveL-MSFT
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR Summary
Fix #282
This PR adds settings/policy JSON files support.
A particular dsc setting value (e.g. dsc resource search path) can be specified in any of the locations below.
Override order:
policyfile. Writable only by Admins, but readable by everyone:$env:ProgramData+"\dsc\dsc.settings.json""/etc/dsc/dsc.settings.json"--trace-levelor--trace-formatdsc.settings.jsonindscexecutable directorydsc_default.settings.jsonindscexecutable directory. Should not be modified by user and intended to be used in dsc upgrade scenarios as well asreset settings to defaultsscenario. Top-level nodes in the file are versions of settings schema to support possible future breaking changes in settings schema.Format and defaults for policy/settings currently look like this and described in detail in the spec: