From 219208f0cdca4108f314d7c9463b3a8bd61c83d9 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Tue, 30 Nov 2021 17:51:24 +0000 Subject: [PATCH] Update layout --- adr-provs/quasi-idempotence.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/adr-provs/quasi-idempotence.md b/adr-provs/quasi-idempotence.md index 3297e62..27a8c0c 100644 --- a/adr-provs/quasi-idempotence.md +++ b/adr-provs/quasi-idempotence.md @@ -23,12 +23,12 @@ We follow the principle "build from scratch", so we leave the question of softwa ## Consequence 1. add / change (a line) in existing files - 1. Solution: Query for changed location respecting the file type / format and skip if it was already performed. We try to avoid this case and use separate files instead of modifying existing ones. + * Solution: Query for changed location respecting the file type / format and skip if it was already performed. We try to avoid this case and use separate files instead of modifying existing ones. 2. installation of an single / directory file - 1. Solution: If the file/directory exists, we consider installation successful and skip this step in another installation run + * Solution: If the file/directory exists, we consider installation successful and skip this step in another installation run 3. installation of many files/directories - 1. Solution: If the last file/directory exists, we consider installation successful and skip this step in another installation run - this is useful in order to skip time consuming steps. For fast / trivial steps we can choose solution 2. + * Solution: If the last file/directory exists, we consider installation successful and skip this step in another installation run - this is useful in order to skip time consuming steps. For fast / trivial steps we can choose solution 2. 4. install apt/deb package - 1. Solution: Query whether package (name without version) is installed (either implicitly e.g. in case of apt or explicitly in other cases to avoid unnecessary downloads etc) + * Solution: Query whether package (name without version) is installed (either implicitly e.g. in case of apt or explicitly in other cases to avoid unnecessary downloads etc) 5. running docker containers - 1. Solution: Query whether container with name (we have to provide the name on container start) is already running + * Solution: Query whether container with name (we have to provide the name on container start) is already running