aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-09-02 19:15:47 -0400
committerMicah Anderson <micah@riseup.net>2010-09-02 19:15:47 -0400
commitcb9e265ad23178d47970e28458b8a426d9400d92 (patch)
treea5b128fa8e795b5453bceadb023dd92437895a4e /manifests
parent92fd1d13513d2cec5ea95652b7b0c5fa0f6b1111 (diff)
downloadpuppet-apt-cb9e265ad23178d47970e28458b8a426d9400d92.tar.gz
puppet-apt-cb9e265ad23178d47970e28458b8a426d9400d92.tar.bz2
clean up the multiple File subscribes
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
1 files changed, 2 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 0116ff8..497077b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -57,14 +57,11 @@ class apt {
'refresh_apt':
command => '/usr/bin/apt-get update && sleep 1',
refreshonly => true,
- subscribe => [ File["/etc/apt/sources.list"],
- File["/etc/apt/preferences"],
- File["/etc/apt/apt.conf.d"],
+ subscribe => [ File["/etc/apt/sources.list", "/etc/apt/preferences", "/etc/apt/apt.conf.d"],
Config_file["apt_config"] ];
'update_apt':
command => '/usr/bin/apt-get update && /usr/bin/apt-get autoclean',
- require => [ File["/etc/apt/sources.list"],
- File["/etc/apt/preferences"], Config_file["apt_config"] ],
+ require => [ File["/etc/apt/sources.list", "/etc/apt/preferences"], Config_file["apt_config"] ],
loglevel => info,
# Another Semaphor for all packages to reference
alias => "apt_updated";