Fix relationships.
This commit is contained in:
parent
e42b54af40
commit
7b9ba44340
1 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue