From: intrigeri Date: Sun, 17 Oct 2010 14:41:40 +0000 (+0200) Subject: Fix relationships. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7b9ba443409d830667163f8ec1c0c1a82577f486;p=puppet-apt.git Fix relationships. --- diff --git a/manifests/init.pp b/manifests/init.pp index f3c8845..cbd0b1f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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";