Adjust puppet-ceph dependency requirements

Puppet throws a few warnings during bootstrap because some
dependencies are not within the accepted version range. This
happens because those dependencies are at their latest
versions but we are running an older version of ceph in
order to have the ceph-disk functionality.
The proper fix would be upgrading ceph to a higher version,
but since there are plans in place to implement rook-ceph in
the future, this change increases the range of accepted
versions for the affected dependencies.

Test Plan:
PASS: Build & install
PASS: AIO-SX Successful Bootstrap
PASS: AIO-SX Successful Unlock
PASS: Verified that the 'unresolved dependencies' warnings for
      puppet-ceph are no longer present on puppet.log

Story: 2010757
Task: 48200

Change-Id: I4aec4d602650bfde026ce8894c08a1132bd79608
Signed-off-by: Matheus Guilhermino <matheus.machadoguilhermino@windriver.com>
This commit is contained in:
Matheus Guilhermino 2023-06-06 15:59:49 -03:00 committed by Matheus Machado Guilhermino
parent 2f3c29986e
commit fc5223dc1f
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,56 @@
From 50d62b14859e92f5ea32e7dfa46aff99b85ecc26 Mon Sep 17 00:00:00 2001
From: Matheus Guilhermino <matheus.machadoguilhermino@windriver.com>
Date: Tue, 6 Jun 2023 15:33:16 -0300
Subject: [PATCH] Adjust puppet-ceph dependency requirements
Puppet throws a few warnings during bootstrap because some
dependencies are not within the accepted version range. This
happens because those dependencies are at their latest
versions but we are running an older version of ceph in
order to have the ceph-disk functionality.
The proper fix would be upgrading ceph to a higher version,
but since there are plans in place to implement rook-ceph in
the future, this change increases the range of accepted
versions for the affected dependencies.
Signed-off-by: Matheus Guilhermino <matheus.machadoguilhermino@windriver.com>
---
metadata.json | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/metadata.json b/metadata.json
index a760f1c..f8b1c7c 100644
--- a/metadata.json
+++ b/metadata.json
@@ -49,23 +49,23 @@
"dependencies": [
{
"name": "puppetlabs/apt",
- "version_requirement": ">=2.0.0 <3.0.0"
+ "version_requirement": ">=2.0.0 <7.0.0"
},
{
"name": "puppetlabs/apache",
- "version_requirement": ">=1.4.1 <2.0.0"
+ "version_requirement": ">=1.4.1 <6.0.0"
},
{
"name": "puppetlabs/concat",
- "version_requirement": ">=1.2.1 <3.0.0"
+ "version_requirement": ">=1.2.1 <6.0.0"
},
{
"name": "puppetlabs/inifile",
- "version_requirement": ">=1.0.0 <2.0.0"
+ "version_requirement": ">=1.0.0 <3.0.0"
},
{
"name": "puppetlabs/stdlib",
- "version_requirement": ">=4.10.0 <5.0.0"
+ "version_requirement": ">=4.10.0 <6.0.0"
},
{
"name": "duritong/sysctl",
--
2.37.1

View File

@ -10,3 +10,4 @@
0011-Fix-service-parameter-passing.patch
0012-Add-multipath-disk-support.patch
0013-Fix-puppet-ceph-multipath-ceph-partition-detection.patch
0014-Adjust-puppet-ceph-dependency-requirements.patch