Project

General

Profile

Actions

Bug #3375

closed

(ex PT/ Technique) APT package manager configuration: Cannot handle Ubuntu 12.04 and later

Added by Nicolas PERRON over 11 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

In the Technique APT package manager configuration, it is not possible to manage apt for Ubuntu 12.04 or later since the CFEngine variable $(apt_detected_distro) is not initialized.

We should found a more dynamic system or at least add a the new distros in the code:

@ -64,6 +64,14 @@ bundle agent check_apt_settings

       "apt_detected_distro" string => "maverick";

+    ubuntu_precise::
+
+      "apt_detected_distro" string => "precise";
+
+    ubuntu_oneiric::
+
+      "apt_detected_distro" string => "oneiric";
+
     apt_installrecommends_edit::

       "aptconf[APT::Install-Recommends]" string => "&APT_INSTALLRECOMMENDS&";

Actions #1

Updated by Matthieu CERDA over 11 years ago

  • Target version changed from 2.3.11 to 2.3.12
Actions #2

Updated by Matthieu CERDA over 11 years ago

  • Category set to Policy Templates
  • Status changed from New to Pending technical review
  • Assignee set to Matthieu CERDA
  • Priority changed from N/A to 2
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/105

PR available

Actions #3

Updated by Matthieu CERDA over 11 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:d8d93b024769c6bb8bc1b3bdb8441d074c2054df.

Actions #4

Updated by Jonathan CLARKE over 11 years ago

Applied in changeset commit:12e948cda6e2050cc656718540d9a02274e2274a.

Actions #5

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released
Actions #6

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 24 to Rudder
  • Category changed from Policy Templates to Techniques
Actions

Also available in: Atom PDF