feat: update kanidm and provisioning

This commit is contained in:
oddlama 2024-03-11 16:54:02 +01:00
parent ee5556401c
commit 1b0934b565
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 449 additions and 395 deletions

View file

@ -1,7 +1,5 @@
{
bc,
lib,
nvd,
writeShellApplication,
}: let
deploy = writeShellApplication {
@ -109,7 +107,8 @@
ssh "$host" -- "$store_path"/bin/switch-to-configuration "$ACTION" \
|| echo "Error while activating new system" >&2
if [[ -n "$prev_system" ]]; then
ssh "$host" -- ${lib.getExe nvd} --color always diff "$prev_system" "$store_path" || true
# nvd must be installed on the target system for this to work
ssh "$host" -- nvd --color always diff "$prev_system" "$store_path" || true
fi
time_next
echo " Applied  $host in ''${T_LAST}s"