aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-17 16:41:40 +0200
committerintrigeri <intrigeri@boum.org>2010-10-17 16:41:40 +0200
commit7b9ba443409d830667163f8ec1c0c1a82577f486 (patch)
treedc2bf91ff074d038f3fad1c612beb0f227548657
parente42b54af40ca47ada74a4bb1e410046975b89c32 (diff)
downloadpuppet-apt-7b9ba443409d830667163f8ec1c0c1a82577f486.tar.gz
puppet-apt-7b9ba443409d830667163f8ec1c0c1a82577f486.tar.bz2
Fix relationships.
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
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";