diff options
Diffstat (limited to 'mcp/config/states/openstack')
-rwxr-xr-x | mcp/config/states/openstack | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mcp/config/states/openstack b/mcp/config/states/openstack index 968310334..19cd41703 100755 --- a/mcp/config/states/openstack +++ b/mcp/config/states/openstack @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/bash -e ############################################################################## # Copyright (c) 2017 Mirantis Inc., Enea AB and others. # All rights reserved. This program and the accompanying materials @@ -7,6 +7,8 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## +CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x + salt -I 'nfs:server' file.mkdir /srv/nova/instances salt -I 'nfs:server' state.sls nfs salt -I 'nfs:client' state.sls nfs |