From: intrigeri Date: Sun, 17 Oct 2010 14:47:38 +0000 (+0200) Subject: Need to update APT lists after apt.conf.d changes. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8a9bea09e95eb2c5d4a3933e4a19a754387ed2ac;p=puppet-apt.git Need to update APT lists after apt.conf.d changes. --- diff --git a/manifests/init.pp b/manifests/init.pp index 25b7661..cbdd8d7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -149,7 +149,8 @@ class apt { Config_file["/etc/apt/sources.list"] ]; 'update_apt': command => '/usr/bin/apt-get update && /usr/bin/apt-get autoclean', - require => [ Config_file["/etc/apt/sources.list"] ], + require => [ File["/etc/apt/apt.conf.d"], + Config_file["/etc/apt/sources.list"] ], loglevel => info, # Another Semaphor for all packages to reference alias => "apt_updated";