integ/config/puppet-modules/puppet-etcd-1.12.3/debian/patches/0001-Allow-use-with-stdlib-5.0.0.patch
Matheus Machado Guilhermino 7a094af9d5 Address unmet dependency in puppet-etcd-1.12.3
The following dependency was generating a
"unresolved dependency" warning during bootstrap on Debian:

puppet-stdlib (>= 4.6.0 < 5.0.0)

Debian is currently using puppet-stdlib 5.0.0 and the
most recent version of puppet-etcd asks for puppet-stdlib
(>= 4.6.0 < 5.0.0).
puppet-stdlib 5.0.0 provides the same manifests, classes
and functions as puppet-stdlib 4.25.1, the changes are more
present in the packaging architecture, inclusion of a new function,
and improved and updated documentation.
Updating the dependency declaration to allow version 5.0.0
of puppet-stdlib removes the warning, shows no signs of malfunction,
and does not prevent from successfully bootstraping and unlocking.
For that, the package puppet-etcd-1.12.3 was included and patched.

Debian Bullseye tests:
PASS: Build & install
PASS: Successful Bootstrap
PASS: Successful Unlock

Story: 2009101
Task: 44772

Signed-off-by: Matheus Machado Guilhermino <Matheus.MachadoGuilhermino@windriver.com>
Change-Id: I940faf6c406fa0146da86976154f4e4793621c40
2022-03-17 10:47:27 -03:00

27 lines
716 B
Diff

From 7ec509189906c18d93470004a2d676f1a07484b8 Mon Sep 17 00:00:00 2001
From: Matheus Machado Guilhermino <matheus.machadoguilhermino@windriver.com>
Date: Mon, 14 Mar 2022 17:46:12 +0000
Subject: [PATCH] Allow use with stdlib-5.0.0
Signed-off-by: Matheus Machado Guilhermino <matheus.machadoguilhermino@windriver.com>
---
metadata.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/metadata.json b/metadata.json
index b052ad3..f237870 100644
--- a/metadata.json
+++ b/metadata.json
@@ -52,7 +52,7 @@
],
"dependencies": [{
"name": "puppetlabs/stdlib",
- "version_requirement": ">= 4.6.0 < 5.0.0"
+ "version_requirement": ">= 4.6.0 <= 5.0.0"
}
],
"tags": [ "etcd"
--
2.30.2