summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorDavid Schmitt <david@schmitt.edv-bus.at>2007-08-16 09:32:09 +0200
committerDavid Schmitt <david@schmitt.edv-bus.at>2007-08-16 09:32:09 +0200
commit5e254ad2985fa7c5a514e9b4d590aefe8ce22c13 (patch)
tree26dc2dbee68762fc27167274be49c9f261485c8a /manifests
parent8dfbc303a50979ddcbb481816f202ab60256e113 (diff)
Add README to apt module
additionally use modules_dir and remove legacy file removal
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp12
1 files changed, 3 insertions, 9 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 721ecf5..6f34cd1 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -42,15 +42,9 @@ class apt {
}
$apt_base_dir = "/var/lib/puppet/modules/apt"
- file {
- # remove my legacy files
- [ "/etc/apt/backports.key", "/etc/apt/apt.conf.d/local-conf" ]:
- ensure => removed;
- # create new modules dir
- $apt_base_dir: ensure => directory;
- # watch apt.conf.d
- "/etc/apt/apt.conf.d": ensure => directory, checksum => mtime;
- }
+ modules_dir { apt: }
+ # watch apt.conf.d
+ file { "/etc/apt/apt.conf.d": ensure => directory, checksum => mtime; }
# suppress annoying help texts of dselect
line { dselect_expert: