From 38b449af35d774ded29cfe392723d5aebc231a8e Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 19 Dec 2021 14:16:14 +0100 Subject: [PATCH] bundles/letsencrypt: only run dehydrated after installing it --- bundles/letsencrypt/metadata.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bundles/letsencrypt/metadata.py b/bundles/letsencrypt/metadata.py index d735ccb..d5b6d1d 100644 --- a/bundles/letsencrypt/metadata.py +++ b/bundles/letsencrypt/metadata.py @@ -1,7 +1,11 @@ defaults = { 'apt': { 'packages': { - 'dehydrated': {}, + 'dehydrated': { + 'needed_by': { + 'action:letsencrypt_update_certificates', + }, + }, }, }, 'cron': { @@ -10,7 +14,11 @@ defaults = { }, 'pacman': { 'packages': { - 'dehydrated': {}, + 'dehydrated': { + 'needed_by': { + 'action:letsencrypt_update_certificates', + }, + }, }, }, }