X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=mcp%2Fconfig%2Fstates%2Fneutron_compute;h=70a2db607ce7b223af6bb9a234b7235abadbfe0a;hb=23f9ef727310a8ef449372313785241df6557559;hp=2a2a2ef7888ee15c639e026e1237c99016ac3b21;hpb=644e5fdfa2f49b988a5150e2a4eefc12daecd845;p=fuel.git diff --git a/mcp/config/states/neutron_compute b/mcp/config/states/neutron_compute index 2a2a2ef78..70a2db607 100755 --- a/mcp/config/states/neutron_compute +++ b/mcp/config/states/neutron_compute @@ -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 'neutron:compute' state.sls neutron salt -I 'neutron:compute' file.append /etc/sudoers.d/neutron_sudoers \ args='neutron ALL = (root) NOPASSWD: /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf'