-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Pending reboot #56489
Pending reboot #56489
Conversation
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.
Looks like there are a couple failing tests.
Also Can you update the changelog and the sodium release notes with this new feature?
I think there would be added value in adding an integration test here as well to coincide with the unit tests?
@twangboy looks like it needs to be rebased and run black against this PR. Unfortunately I cannot see the test results so we will see the results after the rebase |
This also links here ... |
16e8b7b
to
09f112c
Compare
Adds pending_reboot graint Adds new win_system salt util Adds tests for new grain Adds tests for new salt util
These have been moved to the win_system salt util and are being tested there
a716c97
to
d1e5c9b
Compare
What does this PR do?
Adds a new
pending_reboot
grain for Windows systems.This moves code from many functions in the
salt.modules.win_system
execution module to a newsalt.utils.win_system
salt util. This code used by the new grain to determine if the system needs to be rebooted and must be available on minion start.Tests written?
Yes
Commits signed with GPG?
Yes