Restart Action Preference
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by tracing how DSC config document properties are parsed and how resource restart requests are processed. Define the behavior for the proposed process, service, and system values, including the default continue behavior, then verify that stop prevents further execution until a higher-order tool can reboot and resume.
Written by the indexing model from the issue text.
Description
Summary of the new feature / enhancement
As a user I want the ability to specify that DSC should stop executing a config doc when a restart requested is returned from a resource.
In DSC v1 LCM the resources executed one at a time and if a reboot is requested the LCM will initiate and then continue. I do not expect DSC to recreate this feature but it should have the ability to stop executing so a higher order tool can reboot and then continue.
Some use cases where I have ran into this particular issue:
- Installing Windows components/features
- Installing/Upgrading software
For resource blocks that require the reboot/restart to happen before the resource can properly test or configure the system.
Proposed technical implementation details (optional)
A new config doc property called restartRequiredAction with a default value of continue (the current behavior) and stop. The property should
restartRequiredAction:
process: continue
service: stop
system: stop
- Dominant language
- Rust
- Stars
- 546
- Forks
- 84
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 25
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PowerShell/DSC
-
Issue-Bug Need-Review
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
PowerShell/DSC#1832 ·
Maintainers usually reply within 1 day
-
Issue-Bug Need-Review
Difficulty 1/5 Under an hour Newbie friendliness 72/100
PowerShell/DSC#1831 ·
Maintainers usually reply within 1 day
-
Area-OpenTelemetry Issue-Enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
PowerShell/DSC#1821 ·
Maintainers usually reply within 1 day
-
Issue-Enhancement Needs Triage
Difficulty 4/5 3-5 days Newbie friendliness 22/100
PowerShell/DSC#1811 ·
Maintainers usually reply within 1 day
-
Issue-Enhancement Needs Triage
Difficulty 4/5 3-5 days Newbie friendliness 30/100
PowerShell/DSC#1812 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
autofixer: follow-up
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tursodatabase/turso#12531 ·
Maintainers usually reply within 1 day
-
bug help wanted ui
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
userFRM/egui-charts#4292 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Tripstack-Corp/spyc#1352 ·
Maintainers usually reply within 1 day