From 8ce3c34be56770e7030108bbd9d4d0cdbd7e5e2f Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 17 Oct 2010 02:13:59 +0200 Subject: Backward compatibility: ensure old renamed file is absent. --- manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index d34c89b..a95ff17 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -109,6 +109,12 @@ class apt { content => "APT::Get::Show-Upgraded true;\nDSelect::Clean $real_apt_clean;\n", before => Config_file[apt_config]; } + # backward compatibility: upgrade from previous versions of this module. + file { + "/etc/apt/apt.conf.d/from_puppet": + ensure => 'absent', + require => Config_File['/etc/apt/apt.conf.d/99from_puppet'], + } if $apt_unattended_upgrades { include apt::unattended_upgrades -- cgit v1.2.3