HomeSoftware Heritage

MODULES-10956 remove redundant code in provider apt_key

Description

MODULES-10956 remove redundant code in provider apt_key

The code in function update_expired_key is redundant to the logic in
the function create. The call to function exist will mark the key as
absent, in case it has expired and refres is set to true.

I debugged for hours why my keys weren't updated until I realized, that
the functionality is elsewhere.

Details

Provenance
Moritz Kraus <moritz.kraus@makandra.de>Authored on Feb 24 2021, 3:29 PM
olasdPushed on Dec 28 2021, 10:47 AM
Parents
rSPAPT683771de88c9: Merge pull request #972 from puppetlabs/maint/main/update_dependencies
Branches
Unknown
Tags
Unknown

Event Timeline

Moritz Kraus <moritz.kraus@makandra.de> committed rSPAPT49fda9c00394: MODULES-10956 remove redundant code in provider apt_key (authored by Moritz Kraus <moritz.kraus@makandra.de>).Feb 24 2021, 4:08 PM