Backward compatibility: ensure old renamed file is absent.
This commit is contained in:
parent
e3c8c1b6af
commit
8ce3c34be5
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue