Skip to content

Commit

Permalink
Use properly the shellcheck disable commands
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 committed Nov 30, 2020
1 parent 5b44a6f commit 3665d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 3665d56

Please sign in to comment.