summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/neutron_compute
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-23 16:28:04 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-23 16:28:04 +0200
commitc98e2683b290258eda15ffd1b02bcd907af47248 (patch)
tree26035dce4a1349991d8b72c2a189a0f7b1994f77 /mcp/config/states/neutron_compute
parentf3f8c094a817fa0f4a60ed25185b6ca226c630d1 (diff)
ci/deploy.sh, states: bash debug, continue on err
Since we don't `set -e` in state files, applying each state will always succeed unless the last instruction in the state fails. Make this uniform by always succeeding in applying the state. While at it, enable bash debugging logs, for better readability of deploy log files. Change-Id: I3cf4886f6d73c6fd1380df1a4e1413334bec1701 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/config/states/neutron_compute')
-rwxr-xr-xmcp/config/states/neutron_compute3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/config/states/neutron_compute b/mcp/config/states/neutron_compute
index e2ffec6be..d58162100 100755
--- a/mcp/config/states/neutron_compute
+++ b/mcp/config/states/neutron_compute
@@ -1 +1,4 @@
+#!/bin/bash
+set -x
+
salt -I 'neutron:compute' state.sls neutron