aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2016-04-09 18:13:43 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-04-09 18:13:43 +0000
commit4fb3f2ed2549ab47a0048d88cbd1303de46820a1 (patch)
tree89ec41070ef2c5fe00757b7f9127b91c540d4cc2 /deploy
parentf3f8da1bb11e4b91c7b7ee8b7d289c83a6bcfa45 (diff)
parent72caaad69bbe09dfdbba1b7be230aa07db066e82 (diff)
Merge "Fix deploy.py return code" into stable/brahmaputra
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/deploy.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/deploy/deploy.py b/deploy/deploy.py
index bf0b39d42..245e6c092 100755
--- a/deploy/deploy.py
+++ b/deploy/deploy.py
@@ -223,7 +223,8 @@ class AutoDeploy(object):
self.install_fuel_master()
if not self.fuel_only:
return self.deploy_env()
- return True
+ # Exit status
+ return 0
def run(self):
check_if_root()
@@ -234,7 +235,8 @@ class AutoDeploy(object):
if self.cleanup:
self.cleanup_execution_environment()
return deploy_success
- return True
+ # Exit status
+ return 0
def check_bridge(pxe_bridge, dha_path):
with io.open(dha_path) as yaml_file: