From e3c8c1b6afc5137be6e15850e9ddfb33894765a2 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 17 Oct 2010 02:11:41 +0200 Subject: Bring /etc/apt/apt.conf.d/99from_puppet to init. APT configuration has (unfortunately) nothing to do with APT preferences. --- manifests/init.pp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index ab90c90..d34c89b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -103,6 +103,13 @@ class apt { } } + config_file { + # little default settings which keep the system sane + "/etc/apt/apt.conf.d/99from_puppet": + content => "APT::Get::Show-Upgraded true;\nDSelect::Clean $real_apt_clean;\n", + before => Config_file[apt_config]; + } + if $apt_unattended_upgrades { include apt::unattended_upgrades } -- cgit v1.2.3