From e96c58ea4dcc46affc7f5d575e06755083659456 Mon Sep 17 00:00:00 2001 From: Denys Havrysh Date: Wed, 15 Jun 2016 17:54:53 +0300 Subject: [PATCH] Create default logs directory which is absent after git installations --- bootstrap-salt.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 7c85e25..355f50d 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -6007,6 +6007,10 @@ config_salt() { echowarn "No configuration or keys were copied over. No configuration was done!" exit 0 fi + + # Create default logs directory if not exists (happens with git installations) + mkdir -p /var/log/salt + return 0 } #