Simone Tiraboschi has uploaded a new change for review.

Change subject: engine-setup: Parametric package name
......................................................................

engine-setup: Parametric package name

Using parametic package name in an help message to provide
coherent information also downstream

Change-Id: I7d95bd733565b742c22b5f4dca474a0163758f97
Bug-Url: https://bugzilla.redhat.com/1077567
Signed-off-by: Simone Tiraboschi <[email protected]>
---
M 
packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/48/26748/1

diff --git 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py
 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py
index 2feb7e1..11c3e52 100644
--- 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py
+++ 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py
@@ -130,7 +130,7 @@
                     "ATTENTION\n"
                     "\n"
                     "Manual action required.\n"
-                    "Please create database for ovirt-engine use. "
+                    "Please create database for {package} use. "
                     "Use the following commands as an example:\n"
                     "\n"
                     "create role {user} with login encrypted password '{user}'"
@@ -143,6 +143,7 @@
                     "Make sure that database can be accessed remotely.\n"
                     "\n"
                 ).format(
+                    package=osetupcons.Const.PACKAGE_NAME,
                     user=osetupcons.Defaults.DEFAULT_DB_USER,
                     database=osetupcons.Defaults.DEFAULT_DB_DATABASE,
                 ),


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

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

Reply via email to