]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit - manifests/init.pp
MODULES-10543: remove sources.list file on purging
authorAntoine Beaupré <anarcat@debian.org>
Tue, 11 Feb 2020 16:40:06 +0000 (11:40 -0500)
committerAntoine Beaupré <anarcat@debian.org>
Tue, 11 Feb 2020 16:40:06 +0000 (11:40 -0500)
commit1859c946d18a89268be63316be4e1e6f9673ff66
treeb74de9b95aa78fcdeba0b01b295a71540a836b04
parentd5884ab0608ee1d47f7ad922aa163f4721bb9038
MODULES-10543: remove sources.list file on purging

The current sources.list purge behavior is inconsistent with the
preferences behavior. The former creates a file with a comment, the
latter removes the file.

This harmonizes this behavior between the two files and simply drops
the file if it is to be purged.
manifests/init.pp