]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
No need to refresh APT lists after changes to pinning preferences.
authorintrigeri <intrigeri@boum.org>
Sun, 17 Oct 2010 14:43:04 +0000 (16:43 +0200)
committerintrigeri <intrigeri@boum.org>
Sun, 17 Oct 2010 14:43:04 +0000 (16:43 +0200)
manifests/init.pp

index 1efc443e8e27fd3cd7e2298f558edc8f3e2b8020..8cf101bb1956ede4e44af3a6a5b67023e9832a1e 100644 (file)
@@ -146,10 +146,10 @@ class apt {
       command => '/usr/bin/apt-get update && sleep 1',
       refreshonly => true,
       subscribe => [ File["/etc/apt/apt.conf.d"],
-                     Config_file["/etc/apt/preferences", "/etc/apt/sources.list", "apt_config"] ];
+                     Config_file["/etc/apt/sources.list", "apt_config"] ];
     'update_apt':
       command => '/usr/bin/apt-get update && /usr/bin/apt-get autoclean',
-      require => [ Config_file["/etc/apt/preferences", "/etc/apt/sources.list", "apt_config"] ],
+      require => [ Config_file["/etc/apt/sources.list", "apt_config"] ],
       loglevel => info,
       # Another Semaphor for all packages to reference
       alias => "apt_updated";