summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp10
1 files changed, 2 insertions, 8 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 26afaeb..25e35ff 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -15,6 +15,7 @@ class apt (
$volatile_url = $apt::params::volatile_url,
$ubuntu_url = $apt::params::ubuntu_url,
$repos = $apt::params::repos,
+ $manage_preferences = $apt::params::manage_preferences,
$custom_preferences = $apt::params::custom_preferences,
$custom_sources_list = '',
$custom_key_dir = $apt::params::custom_key_dir,
@@ -23,17 +24,10 @@ class apt (
include apt::dot_d_directories
include apt::config
include apt::install
+ include apt::preferences
include common::moduledir
common::module_dir { 'apt': }
$apt_base_dir = "${common::moduledir::module_dir_path}/apt"
- case $custom_preferences {
- false: {
- include apt::preferences::absent
- }
- default: {
- include apt::preferences
- }
- }
}