From 2c385cfab5978582cdd495c20158ab0db99fe2d6 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 31 Aug 2025 16:51:55 +0200 Subject: [PATCH] [PR #10779/4a70d409 backport][stable-11] Deprecate hiera lookup (#10781) Deprecate hiera lookup (#10779) Deprecate hiera lookup. (cherry picked from commit 4a70d4091dafd71b2f897e79b4abc10751699e56) Co-authored-by: Felix Fontein --- changelogs/fragments/hiera.yml | 4 ++++ meta/runtime.yml | 6 ++++++ plugins/lookup/hiera.py | 6 ++++++ 3 files changed, 16 insertions(+) create mode 100644 changelogs/fragments/hiera.yml diff --git a/changelogs/fragments/hiera.yml b/changelogs/fragments/hiera.yml new file mode 100644 index 0000000000..70c75f059e --- /dev/null +++ b/changelogs/fragments/hiera.yml @@ -0,0 +1,4 @@ +deprecated_features: + - "hiera lookup plugin - retrieving data with Hiera has been deprecated a long time ago; because of that this plugin will be removed from community.general 13.0.0. + If you disagree with this deprecation, please create an issue in the community.general repository + (https://github.com/ansible-collections/community.general/issues/4462, https://github.com/ansible-collections/community.general/pull/10779)." diff --git a/meta/runtime.yml b/meta/runtime.yml index 26392dae83..f10ee53204 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -119,6 +119,12 @@ plugin_routing: redirect: community.google.gcp_storage_file hashi_vault: redirect: community.hashi_vault.hashi_vault + hiera: + deprecation: + removal_version: 13.0.0 + warning_text: >- + Hiera has been deprecated a long time ago. + If you disagree with this deprecation, please create an issue in the community.general repository. manifold: tombstone: removal_version: 11.0.0 diff --git a/plugins/lookup/hiera.py b/plugins/lookup/hiera.py index 27f133d78a..e5e6be9108 100644 --- a/plugins/lookup/hiera.py +++ b/plugins/lookup/hiera.py @@ -15,6 +15,12 @@ requirements: - hiera (command line utility) description: - Retrieves data from an Puppetmaster node using Hiera as ENC. +deprecated: + removed_in: 13.0.0 + why: >- + Hiera has been deprecated a long time ago. + If you disagree with this deprecation, please create an issue in the community.general repository. + alternative: Unknown. options: _terms: description: