Merge pull request #56092 from twangboy/waynew-update-changelog

Add LGPO and Network PRs to changelogs
This commit is contained in:
Daniel Wozniak 2020-02-10 11:17:26 -07:00 committed by GitHub
commit 1acd492bb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -150,6 +150,8 @@ Versions are `MAJOR.PATCH`.
- [#55780](https://github.com/saltstack/salt/pull/55780) - Fallback to disabled `LG_INCLUDE_INDIRECT` when DC is unavailable - [@lukasraska](https://github.com/lukasraska)
- [#55795](https://github.com/saltstack/salt/pull/55795) - Fixed issue with whitespace in ADML data - [@twangboy](https://github.com/twangboy)
- [#55796](https://github.com/saltstack/salt/pull/55796) - Fixed cached `osrelease_info` grain type - [@srg91](https://github.com/srg91)
- [#55817](https://github.com/saltstack/salt/pull/55817) - Bring #51372 to Master Branch - [@twangboy](https://github.com/twangboy)
- [#55823](https://github.com/saltstack/salt/pull/55823) - Fix issue with overly long names in the LGPO module - [@twangboy](https://github.com/twangboy)
- [#55843](https://github.com/saltstack/salt/pull/55843) - Fixed `file.mkdir` to respect `test=True` - [@mchugh19](https://github.com/mchugh19)
- [#55845](https://github.com/saltstack/salt/pull/55845) - Fixed logging to return multiprocessing queue if it's already set - [@s0undt3ch](https://github.com/s0undt3ch)

View file

@ -359,6 +359,48 @@ editing values from an xpath query, or editing XML IDs.
- xpath: .//actor[@id='1']
- value: William Shatner
LGPO Execution Module
=====================
Multiple fixes were made to the :py:func:`win_lgpo <salt.modules.win_lgpo>` to
expand support for additional policies and improve performance. Issues with
encoding and unsupported characters (smart-quotes, em-dash, etc) found in the
ADML files as well as whitespace in some policies have been addressed.
Speed enhancements include:
- Caching the compiled xml from ADMX/ADML files in ``__context__``
- Lowercasing all keys before compiling XML to remove an expensive XPath lookup
Additional functionality:
- Adds the :py:func:`lgpo.get_policy <salt.modules.win_lgpo.get_policy>`
function that allows you to get the current settings for a single policy.
- Changes some policy names that were overly long
LGPO State Module
=================
Multiple changes were made to the :py:func:`win_lgpo <salt.states.win_lgpo>`
state to improve performance.
It now uses the :py:func:`lgpo.get_policy <salt.modules.win_lgpo.get_policy>`
function instead of the :py:func:`lgpo.get <salt.modules.win_lgpo.get>` to avoid
reloading all settings on the machine at the beginning and end of each state
run.
Supports the new shorter policy names but also attempts to resolve the older,
longer policy names.
Win_network Salt Util
=====================
Now uses .NET libraries to obtain Interface information on Windows systems that
support it. Unsupported systems fall back to the more expensive WMI calls. This
is important as this data is gathered for grains and occurs each time a process
is forked.
Jinja enhancements
==================