Juan Hernandez has uploaded a new change for review.

Change subject: packaging: Use engine.conf for local configuration
......................................................................

packaging: Use engine.conf for local configuration

Commit 5a3141 of ovirt-engine moved the local configuration from
/etc/sysconfig/ovirt-engine to /etc/ovirt-engine/engine.conf so DWH
needs to be modified accordingly.

Change-Id: Ifb3ba0ae3c9f9d24782d4d55f99836bf157800ec
Signed-off-by: Juan Hernandez <[email protected]>
---
M data-warehouse/history_etl/history_service/history_service.sh
M packaging/ovirt-engine-dwh-setup.py
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/13/12613/1

diff --git a/data-warehouse/history_etl/history_service/history_service.sh 
b/data-warehouse/history_etl/history_service/history_service.sh
index e84d9e4..cfd9c08 100755
--- a/data-warehouse/history_etl/history_service/history_service.sh
+++ b/data-warehouse/history_etl/history_service/history_service.sh
@@ -1,7 +1,7 @@
 #!/bin/bash -x
 #
 
-. /etc/sysconfig/ovirt-engine
+. /etc/ovirt-engine/engine.conf
 
 LOGFILE="/var/log/ovirt-engine/ovirt-engine-dwhd.log"
 ETL_HOME=/usr/share/ovirt-engine-dwh/etl
diff --git a/packaging/ovirt-engine-dwh-setup.py 
b/packaging/ovirt-engine-dwh-setup.py
index cf078a7..0642bdc 100755
--- a/packaging/ovirt-engine-dwh-setup.py
+++ b/packaging/ovirt-engine-dwh-setup.py
@@ -26,7 +26,7 @@
 EXEC_CREATE_DB="%s/ovirt-engine-history-db-install.sh" % PATH_DB_SCRIPTS
 EXEC_UPGRADE_DB="upgrade.sh"
 FILE_DB_CONN = "/etc/ovirt-engine/ovirt-engine-dwh/Default.properties"
-FILE_WEB_CONF = "/etc/sysconfig/ovirt-engine"
+FILE_WEB_CONF = "/etc/ovirt-engine/engine.conf"
 DB_NAME = "ovirt_engine_history"
 DB_USER_NAME = "postgres"
 DB_PORT = "5432"
@@ -146,7 +146,7 @@
 
 def getHostParams(secure=True):
     """
-    get protocol, hostname & secured port from /etc/sysconfig/ovirt-engine
+    get protocol, hostname & secured port from /etc/ovirt-engine/engine.conf
     """
 
     protocol = "https" if secure else "http"


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

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

Reply via email to