Project

General

Profile

Actions

Enhancement #24054

open

Package present doesn't install depedencies

Added by Elaad FURREEDAN 11 months ago. Updated 6 months ago.

Status:
In progress
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
It bothers me each time
Suggestion strength:
Want - This would make my life a lot easier but I can manage without
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Large
Name check:
To do
Fix check:
To do
Regression:
No

Description

Use case

In many uses cases, we want the method to install the dependencies for the package (for apt and rpm)
The local install use rpm instead of yum, and he is not able to install dependencies https://github.com/Normation/ncf/blob/c1d12a1bed1ea23ab5e3ef3c60f8d4702c642892/tree/10_ncf_internals/modules/packages/yum#L391

Fix ideas

  • We can use yum instead
    • Ideally upstream at CFEngine
    • Do the same for apt

Workaround

For now, we have two workarounds
  • Install the dependencies with the method package present before the installation of the actual package
  • Use command execution method to use yum
Actions #1

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #2

Updated by Elaad FURREEDAN 10 months ago

  • UX impact set to It bothers me each time
  • User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Effort required set to Large
Actions #3

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #4

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.3.13 to 7.3.14
Actions #5

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 7.3.14 to 7.3.15
Actions #6

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.3.15 to 7.3.16
Actions #7

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.16 to 7.3.17
Actions #8

Updated by Raphael GAUTHIER 6 months ago

  • Status changed from New to In progress
  • Assignee set to Raphael GAUTHIER
Actions

Also available in: Atom PDF