No need to refresh APT lists after changes to pinning preferences.

This commit is contained in:
intrigeri 2010-10-17 16:43:04 +02:00
parent 487855daf2
commit 20b67058ab

View 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";