summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-02-24 17:38:51 -0500
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-02-24 17:38:51 -0500
commitb34581d9c74cb02eec11278f0b5d028495c005e9 (patch)
treee91cb7da047c2d9dca5d4f1ba07227116096a606
parentef250c00dc9217bca231890899febe27c60b7d92 (diff)
ensure old monolithic preferences file is no more
-rw-r--r--manifests/preferences.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/preferences.pp b/manifests/preferences.pp
index 455b9ab..ce28d37 100644
--- a/manifests/preferences.pp
+++ b/manifests/preferences.pp
@@ -1,5 +1,9 @@
class apt::preferences {
+ file { '/etc/apt/preferences':
+ ensure => absent;
+ }
+
if ($apt::manage_preferences == true) and ($apt::custom_preferences != undef) {
file {