From 4aaa4c0991ac63e23cc2ceec30d2d6a55b228709 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Mon, 12 Feb 2024 16:46:38 +0100 Subject: [PATCH] - Update to version 1.12.1 https://github.com/freeipa/ansible-freeipa/releases/tag/v1.12.1 Resolves: RHEL-13746 - ipauser module lacks the "rename" field. Resolves: RHEL-4963 - Add missing support for rename in ipagroup module Resolves: RHEL-13759 - The IDP module does not support the modification of IDP options Resolves: RHEL-17955 - The IDP module does not support resetting IDP options Resolves: RHEL-17958 - ipauser is not idempotent when random is defined Resolves: RHEL-4934 - ipasudorule: Allow setting groups for runasuser Resolves: RHEL-19129 - Idempotency fixes Resolves: RHEL-13755 - ipadnszone: Add support for per-zone privilege delegation Resolves: RHEL-19133 - Handle data type or empty string in module_utils Resolves: RHEL-19135 - ipa-server installation failing Resolves: RHEL-23633 --- ...nlength-parameter-can-be-reset-with-.patch | 47 ------------------- ansible-freeipa.spec | 31 ++++++++++-- sources | 2 +- 3 files changed, 28 insertions(+), 52 deletions(-) delete mode 100644 ansible-freeipa-1.12.0-test_pwpolicy-minlength-parameter-can-be-reset-with-.patch diff --git a/ansible-freeipa-1.12.0-test_pwpolicy-minlength-parameter-can-be-reset-with-.patch b/ansible-freeipa-1.12.0-test_pwpolicy-minlength-parameter-can-be-reset-with-.patch deleted file mode 100644 index f4e18a3..0000000 --- a/ansible-freeipa-1.12.0-test_pwpolicy-minlength-parameter-can-be-reset-with-.patch +++ /dev/null @@ -1,47 +0,0 @@ -From f2a1d50b82cb8af31e5d55c045c8dc72c98c7694 Mon Sep 17 00:00:00 2001 -From: Thomas Woerner -Date: Tue, 28 Nov 2023 11:48:31 +0100 -Subject: [PATCH] test_pwpolicy: minlength parameter can be reset with empty - string now - -The reset of the minlength parameter failed with an internal error so -far. This has been fixed in IPA and therefore requires to fix the test -in ansible-freeipa also. - -Related: https://pagure.io/freeipa/issue/9297 ---- - tests/pwpolicy/test_pwpolicy.yml | 17 +++-------------- - 1 file changed, 3 insertions(+), 14 deletions(-) - -diff --git a/tests/pwpolicy/test_pwpolicy.yml b/tests/pwpolicy/test_pwpolicy.yml -index 83f1763..340f64f 100644 ---- a/tests/pwpolicy/test_pwpolicy.yml -+++ b/tests/pwpolicy/test_pwpolicy.yml -@@ -176,21 +176,10 @@ - minlength: "" - register: result - failed_when: -- result.changed or - (result.failed and not -- ("an internal error has occurred" in result.msg or -- "int() argument must be" in result.msg)) -- when: ipa_version is version("4.9", ">=") -- -- - name: Ensure minlength is not cleared due to FreeIPA issue -- ipapwpolicy: -- ipaadmin_password: SomeADMINpassword -- ipaapi_context: "{{ ipa_context | default(omit) }}" -- name: ops -- minlength: "" -- register: result -- failed_when: not result.changed or result.failed -- when: ipa_version is version("4.7", "<") -+ ("an internal error has occurred" in result.msg or -+ "int() argument must be" in result.msg)) -+ or (not result.failed and not result.changed) - - - name: Execute tests if ipa_version >= 4.9.0 - when: ipa_version is version("4.9", ">=") --- -2.42.0 - diff --git a/ansible-freeipa.spec b/ansible-freeipa.spec index 95b9b88..6159a70 100644 --- a/ansible-freeipa.spec +++ b/ansible-freeipa.spec @@ -7,12 +7,11 @@ Summary: Roles and playbooks to deploy FreeIPA servers, replicas and clients Name: ansible-freeipa -Version: 1.12.0 -Release: 2%{?dist} +Version: 1.12.1 +Release: 1%{?dist} URL: https://github.com/freeipa/ansible-freeipa License: GPL-3.0-or-later Source: https://github.com/freeipa/ansible-freeipa/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: ansible-freeipa-1.12.0-test_pwpolicy-minlength-parameter-can-be-reset-with-.patch BuildArch: noarch %description @@ -119,7 +118,6 @@ to get the needed requrements to run the tests. %prep %setup -q # Do not create backup files with patches -%patch0 -p1 # Fix python modules and module utils: # - Remove shebang @@ -185,6 +183,31 @@ cp -rp tests %{buildroot}%{_datadir}/ansible-freeipa/ %{_datadir}/ansible-freeipa/requirements-tests.txt %changelog +* Mon Feb 12 2024 Thomas Woerner - 1.12.1-1 +- Update to version 1.12.1 + https://github.com/freeipa/ansible-freeipa/releases/tag/v1.12.1 + Resolves: RHEL-13746 +- ipauser module lacks the "rename" field. + Resolves: RHEL-4963 +- Add missing support for rename in ipagroup module + Resolves: RHEL-13759 +- The IDP module does not support the modification of IDP options + Resolves: RHEL-17955 +- The IDP module does not support resetting IDP options + Resolves: RHEL-17958 +- ipauser is not idempotent when random is defined + Resolves: RHEL-4934 +- ipasudorule: Allow setting groups for runasuser + Resolves: RHEL-19129 +- Idempotency fixes + Resolves: RHEL-13755 +- ipadnszone: Add support for per-zone privilege delegation + Resolves: RHEL-19133 +- Handle data type or empty string in module_utils + Resolves: RHEL-19135 +- ipa-server installation failing + Resolves: RHEL-23633 + * Tue Nov 28 2023 Thomas Woerner - 1.12.0-2 - Fix test_pwpolicy for https://pagure.io/freeipa/issue/9297 Related: RHEL-13746 diff --git a/sources b/sources index 4f14908..0c34571 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ansible-freeipa-1.12.0.tar.gz) = 907c6d2a9e53d92ea0e23e90c8763ad058b7a1d477aa4f967bad9d0c0a1d2be465840c6b1d8195778158814283057b047362a1e2672e4ba0104d560e18abf381 +SHA512 (ansible-freeipa-1.12.1.tar.gz) = 9e1a3ff9fe3b9d7bd6bc30096d89e0d7e1a60fb22b66efc272c3e3561c977f9c13dc0645eb734f2d5a5b2a11115bc81671cfc9e615b5cacbc06724d4ea4dd44c