diff options
author | Louis-Philippe VĂ©ronneau <pollito@riseup.net> | 2017-02-24 16:30:49 -0500 |
---|---|---|
committer | Louis-Philippe VĂ©ronneau <pollito@riseup.net> | 2017-02-24 16:30:49 -0500 |
commit | 3f0a363088c64c905a3fe7f6369d28b770cdf481 (patch) | |
tree | e7345dfba6fcd3b79001e13bc08395424cf88c74 /manifests/init.pp | |
parent | f447904e47c14f287283d8a3de9fb17033ccafdb (diff) |
fix custom_preferences && refactor how they work
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 26afaeb..3a37f6b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -23,17 +23,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 - } - } } |