diff options
author | intrigeri <intrigeri@boum.org> | 2010-10-17 02:13:59 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-10-17 02:13:59 +0200 |
commit | 8ce3c34be56770e7030108bbd9d4d0cdbd7e5e2f (patch) | |
tree | 93f9b18b4b04e1536766497fb440b0de4f9b9cfd /manifests | |
parent | e3c8c1b6afc5137be6e15850e9ddfb33894765a2 (diff) | |
download | puppet-apt-8ce3c34be56770e7030108bbd9d4d0cdbd7e5e2f.tar.gz puppet-apt-8ce3c34be56770e7030108bbd9d4d0cdbd7e5e2f.tar.bz2 |
Backward compatibility: ensure old renamed file is absent.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 6 |
1 files changed, 6 insertions, 0 deletions
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 |