summaryrefslogtreecommitdiff
path: root/manifests/preferences.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-17 14:27:27 +0200
committermh <mh@immerda.ch>2010-10-17 14:27:27 +0200
commitb989192dfd5c6604afe6e0562f9d39a7487b6cf4 (patch)
tree0b62f595ad55df04a8722956c18f5646c03f4079 /manifests/preferences.pp
parent822d482f4d6e94546cb5454d571b4d58525af94b (diff)
fix modules directory stuff
Diffstat (limited to 'manifests/preferences.pp')
-rw-r--r--manifests/preferences.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/preferences.pp b/manifests/preferences.pp
index b106153..e806f9f 100644
--- a/manifests/preferences.pp
+++ b/manifests/preferences.pp
@@ -1,9 +1,10 @@
class apt::preferences {
- include apt::module_dir
+ include common::moduledir
+ $apt_preferences_dir = "${common::moduledir::module_dir_path}/apt/preferences"
module_dir{'apt/preferences': }
concatenated_file{'/etc/apt/preferences':
- dir => '/var/lib/puppet/modules/apt/preferences',
+ dir => $apt_preferences_dir,
header => 'Package: *
Pin: release a=unstable
Pin-Priority: 1