Project

General

Profile

Bug #8421

Invalidation of previous package state and of package status cache does not work on rpmPackageInstallation 5.0 5.1 6.0 6.1 7.0

Added by Jonathan CLARKE almost 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

In version 5.0 of the technique, the result classes for the packages promise(s) were changed from:

classes => class_trigger_rpm_retcodes("rpm_package_installed_${index_rpmpkg}", "rpm_package_install_failed_${index_rpmpkg}", "rpm_package_install_kept_${index_rpmpkg}", "${rpm_package_check_interval}"),

to

classes => rudder_common_classes_persist("rpm_package_installation_${index_rpmpkg}", "${rpm_package_check_interval}"),

However, the code that resets classes at the beginning (in case of a promise update) still uses the old names:

      "rpm_kept_classes_purged_${index_rpmpkg}" 
        string  => "undefine",
        classes => cancel_all_classes("rpm_package_install_kept_${index_rpmpkg}");

Subtasks

Bug #8425: Invalidation of previous package state and of package status cache does not work on rpmPackageInstallation 5.0 5.1 6.0 6.1 7.0 - fix so only the first pass resets classesReleasedNicolas CHARLES2016-05-30Actions

Related issues

Has duplicate Rudder - Bug #8277: Reporting broken on RPM package install techniqueRejectedAlexis MOUSSET2016-05-12Actions

Also available in: Atom PDF