]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Need to update APT lists after apt.conf.d changes.
authorintrigeri <intrigeri@boum.org>
Sun, 17 Oct 2010 14:47:38 +0000 (16:47 +0200)
committerintrigeri <intrigeri@boum.org>
Sun, 17 Oct 2010 14:47:38 +0000 (16:47 +0200)
manifests/init.pp

index 25b7661dd8f8f214a2853c9163208f68b9762bd6..cbdd8d781b997be7215825fbd3e5fa22ff1f381b 100644 (file)
@@ -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";