Kiril Nesenko has uploaded a new change for review.

Change subject: Support initdb for Centos slaves
......................................................................

Support initdb for Centos slaves

Change-Id: I0a3804b649af8103b85dc92f8e914a1edf645c41
Signed-off-by: Kiril Nesenko <[email protected]>
---
M jobs/ovirt_engine_upgrade_params/update_engine_params.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/jenkins refs/changes/54/22754/1

diff --git a/jobs/ovirt_engine_upgrade_params/update_engine_params.sh 
b/jobs/ovirt_engine_upgrade_params/update_engine_params.sh
index f27d3e6..ff0051d 100644
--- a/jobs/ovirt_engine_upgrade_params/update_engine_params.sh
+++ b/jobs/ovirt_engine_upgrade_params/update_engine_params.sh
@@ -32,7 +32,7 @@
 
        service postgresql stop
        rm -rf /var/lib/pgsql/data
-       postgresql-setup initdb || res=$(($res + $?))
+       {postgresql-setup initdb || service postgresql initdb} || res=$(($res + 
$?))
        service postgresql start || res=$(($res + $?))
        if [[ "${res}" -ne 0 ]]; then
                echo "Failed to init postgres"


-- 
To view, visit http://gerrit.ovirt.org/22754
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a3804b649af8103b85dc92f8e914a1edf645c41
Gerrit-PatchSet: 1
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: Kiril Nesenko <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to