summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-17 16:47:38 +0200
committerintrigeri <intrigeri@boum.org>2010-10-17 16:47:38 +0200
commit8a9bea09e95eb2c5d4a3933e4a19a754387ed2ac (patch)
tree286ce67814e7362dd02e186e5ee5c2b1caa05028
parente0e1b80c4e106f0fc2dff9356d32d9fcba41846d (diff)
Need to update APT lists after apt.conf.d changes.
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
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";