summaryrefslogtreecommitdiff
path: root/manifests/preferences.pp
diff options
context:
space:
mode:
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