Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
win_lgpo.py line 5368; AttributeError: 'OrderedDict' object has no attribute 'lower' #47784
Description of Issue/Question
When using SaltStack to configure local group policy, I run into the same error on multiple machines and any SLS file that specifies a GPO element:
This SLS file WORKS:
Steps to Reproduce Issue
Happens on every Windows 10 machine I try to configure, starting with a fresh install of Windows 10 and updating it to 1803, then installing SaltStack 2018.3.0 Python2.
To reproduce, configure a group policy that has required elements.
(Provided by running
referenced this issue
May 25, 2018
@jpsv The values for ActiveHoursStartTime and ActiveHoursEndTime must be entered as they appear in the gpedit.msc gui
In other words:
However, in PY3 2018.3.2, this policy will fail to apply in some circumstances. However, it does appear that the fix for the issue should be in the PY3 2018.3.3 version (PR #48587 I believe), when it is released. PY2 versions do not have that particular issue.
edited to reword