aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 57a685c..60c95a1 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -40,6 +40,12 @@ class apt {
'': {
include apt::default_preferences
}
+ false: {
+ config_file { "/etc/apt/preferences":
+ alias => "apt_config",
+ ensure => absent;
+ }
+ }
default: {
config_file { "/etc/apt/preferences":
content => $custom_preferences,