From 3665d562ae1221f584dc257a435e2f59dfeae9ec Mon Sep 17 00:00:00 2001 From: Xabier Arbulu Insausti Date: Mon, 30 Nov 2020 16:09:05 +0100 Subject: [PATCH] Use properly the shellcheck disable commands --- salt/provision.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/provision.sh b/salt/provision.sh index ac0b33838..67dac4a71 100644 --- a/salt/provision.sh +++ b/salt/provision.sh @@ -127,8 +127,8 @@ bootstrap_salt () { os_setup () { # Execute the states within /srv/salt/os_setup - # shellcheck disable=SC2046 log_ok "Configuring operative system..." + # shellcheck disable=SC2046 salt-call --local \ --log-level=$(get_grain provisioning_log_level) \ --log-file=/var/log/salt-os-setup.log \ @@ -149,8 +149,8 @@ count_states () { predeploy () { # Execute the states defined in /srv/salt/top.sls # This execution is done to pre configure the cluster nodes, the support machines and install the formulas - # shellcheck disable=SC2046 log_ok "Provisioning system..." + # shellcheck disable=SC2046 salt-call --local \ --log-level=$(get_grain provisioning_log_level) \ --log-file=/var/log/salt-predeployment.log \