We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9da66f8 + 161925a commit 2be6d0fCopy full SHA for 2be6d0f
provision
@@ -27,7 +27,14 @@ git archive --remote=ssh://$PILLAR_GIT_URL --format=tgz master | tar xvz -C /opt
27
mkdir -p /srv
28
ln -sf /opt/magudi/salt/roots /srv/salt
29
ln -sf /opt/pillar /srv/pillar
30
-salt-call --local state.highstate -l debug
+
31
+if [ "$1" = "--debug" ]; then
32
+ LOG_LEVEL="debug"
33
+else
34
+ LOG_LEVEL="warning" # The default
35
+fi
36
37
+salt-call --local state.highstate -l $LOG_LEVEL
38
39
# Ensure that next run will have the updated version
40
# of the this file. Self updating!!!
0 commit comments