Fix relationships.

This commit is contained in:
intrigeri 2010-10-17 16:41:40 +02:00
parent e42b54af40
commit 7b9ba44340

View file

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