win_lgpo: lgpo.set
with secedit policy always generates KeyError: u'lgpo.secedit_data'
#56288
Labels
Bug
broken, incorrect, or confusing behavior
fixed-pls-verify
fix is linked, bug author to confirm fix
P3
Priority 3
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description of Issue
Running the
lgpo.set
execution module with a secedit policy always generates an error:KeyError: u'lgpo.secedit_data'
.This happens because
set
calls _write_secedit_data() which attempts to poplgpo.secedit_data
off the__context__
, butset
never calls_get_secedit_data()
which is where it is added to context.Setup
None really required. Just install salt. Tested both 2018.3.4 and 2019.2.3.
Steps to Reproduce Issue
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: