Bugfix/68489 lgpo set second run by harshang03 · Pull Request #68761 · saltstack/salt

What does this PR do?

Normalizes LGPO policy values so repeated lgpo.set runs don’t fail when the effective values match but types differ (e.g., "7" vs 7, "True" vs True).

What issues does this PR fix or reference?

Fixes #68489

Previous Behavior

Repeated lgpo.set runs could fail on the second attempt because current policy values were compared with different types than the requested values, leading to false change detection and a failed set.

New Behavior

Policy values are normalized during comparison and retrieval, allowing idempotent lgpo.set runs when the effective policy values are already in place.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

No