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 over 9 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

Also available in: Atom PDF