No need to refresh APT lists after changes to pinning preferences.
This commit is contained in:
parent
487855daf2
commit
20b67058ab
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue