From 8a9bea09e95eb2c5d4a3933e4a19a754387ed2ac Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 17 Oct 2010 16:47:38 +0200 Subject: Need to update APT lists after apt.conf.d changes. --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests') 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"; -- cgit v1.2.3