Project

General

Profile

Actions

User story #4820

closed

Add a bundle to check if a package is installed

Added by Jonathan CLARKE almost 10 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We already have the "package_verify" bundle but that runs a "warn only" CFEngine packages promise that uses the "addupdate" package_policy, so reports that a package needs updating even if already installed.

We need a simpler bundle that just reports whether a package is installed or not. We have some concerns about how CFEngine will manage this, so have written an extensive test case to simulate the case where a package is installed but upgradable, to ensure the result is as expected.


Subtasks 1 (0 open1 closed)

User story #4821: Add a bundle to check if a package is installed (implementation + test case)ReleasedNicolas CHARLESActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #6665: package_check_install doesn't report anythingReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF