From 8b7d82399d88dc1d1ef935351dcfe3a16d9797b5 Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Mon, 11 Dec 2023 14:44:10 +0100 Subject: [PATCH] improved messages displayed by deboco --- home/bin/deboco | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/bin/deboco b/home/bin/deboco index 1d88f3f..5b66ade 100755 --- a/home/bin/deboco +++ b/home/bin/deboco @@ -21,7 +21,7 @@ readonly LOG_LEVEL_ERROR=0 readonly LOG_LEVEL_WARNING=1 readonly LOG_LEVEL_INFO=2 readonly LOG_LEVEL_DEBUG=3 -LOG_LEVEL=$LOG_LEVEL_INFO +LOG_LEVEL=$LOG_LEVEL_DEBUG log() { @@ -333,12 +333,13 @@ deboco__update_machine() reports_path="$(controller__get_reports_path "$debops_controller_path")" mkdir -p "${reports_path}" - report_file_path=${reports_path}/$(date --iso=seconds)-init-${target_host_fqdn} - echo "installing debops bootstrap on ${target_host_fqdn} (report stored in ${report_file_path})" + report_file_path=${reports_path}/$(date --iso=seconds)-update-${target_host_fqdn} + echo "applying debops configuration on ${target_host_fqdn} (report stored in ${report_file_path})" local local_repos_path=$(controller__get_local_repos_path "$debops_controller_path") local virtual_env_path=$(controller__get_virtualenv_path "$debops_controller_path") local debops_exit_code='' + log 'debug' "local_repos_path=$local_repos_path" pushd "$local_repos_path" source "$virtual_env_path/bin/activate"