You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The lgpo_reg state module determines success and failure based solely on the content of the Registry.pol file. The execution module also sets the value in the registry. This allows for a scenario where the state will run and set the policy, the user will change the registry value, the state runs again and thinks everything is correct because the Registry.pol file is correct, but the registry setting is not correct. The state needs to detect the incorrect registry setting as well. It needs to be displayed in test=True and in changes made after a successful run.
Expected behavior
The state should detect the registry discrepancy and change it
The changes should be displayed during test=True and in a successful run
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
3006.x branch
The text was updated successfully, but these errors were encountered:
Description
The
lgpo_reg
state module determines success and failure based solely on the content of theRegistry.pol
file. The execution module also sets the value in the registry. This allows for a scenario where the state will run and set the policy, the user will change the registry value, the state runs again and thinks everything is correct because theRegistry.pol
file is correct, but the registry setting is not correct. The state needs to detect the incorrect registry setting as well. It needs to be displayed intest=True
and in changes made after a successful run.Setup
Given the following state:
Steps to Reproduce the Behavior
Apply the state:
Change the registry value to something else:
Apply the state again:
Salt thinks everything is fine... but it's not.
Expected behavior
The state should detect the registry discrepancy and change it
The changes should be displayed during
test=True
and in a successful runVersions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)3006.x branch
The text was updated successfully, but these errors were encountered: