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

Enable SkipGroup reusing dsc.exe #301

Closed
SteveL-MSFT opened this issue Jan 31, 2024 · 1 comment
Closed

Enable SkipGroup reusing dsc.exe #301

SteveL-MSFT opened this issue Jan 31, 2024 · 1 comment
Labels

Comments

@SteveL-MSFT
Copy link
Member

SteveL-MSFT commented Jan 31, 2024

Summary of the new feature / enhancement

There are scenarios where you may want to reuse your config, but operations used with set would not apply to get or test. In those cases, you still want it defined in the config (instead of a separate config that is almost the same but different enough it becomes a process to keep the two in sync).

Proposed technical implementation details (optional)

The SkipGroup resource would accept a config doc with one additional property:

skipOn which would take a string array from possible values get, set, test, export

Alternatively, it could have a runOnlyOn accepting the same values. Not sure which is less confusing to users authoring and reading such a config.

The resource would emit an INFO (or maybe WARNING? although seems overkill, but more likely seen) messages on skipped resources.

This resource would not be part of the base DSC v3 package and needs to be installed separately,

@SteveL-MSFT
Copy link
Member Author

With change in behavior for #302 (comment) we no longer need this for now

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

No branches or pull requests

1 participant