Updated Branches:
  refs/heads/trunk fc43264d6 -> 6dcb9f860

AMBARI-3261. Cleanup UX for advanced database in ambari-server setup. (Jeff 
Sposetti via swagle)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/6dcb9f86
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/6dcb9f86
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/6dcb9f86

Branch: refs/heads/trunk
Commit: 6dcb9f860b09a026601a41556dc4a2e35835a57f
Parents: fc43264
Author: Siddharth Wagle <[email protected]>
Authored: Tue Sep 17 12:40:54 2013 -0700
Committer: Siddharth Wagle <[email protected]>
Committed: Tue Sep 17 12:40:54 2013 -0700

----------------------------------------------------------------------
 ambari-server/src/main/python/ambari-server.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/6dcb9f86/ambari-server/src/main/python/ambari-server.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari-server.py 
b/ambari-server/src/main/python/ambari-server.py
index cad7c8e..44c0600 100755
--- a/ambari-server/src/main/python/ambari-server.py
+++ b/ambari-server/src/main/python/ambari-server.py
@@ -1088,9 +1088,12 @@ def prompt_db_properties(args):
     ok = get_YN_input("Enter advanced database configuration [y/n] (n)? ", 
False)
     if ok:
 
+      print 
"=============================================================================="
+      print "Choose one of the following options:"
+
       database_num = str(DATABASE_INDEX + 1)
       database_num = get_validated_string_input(
-        "Select database:\n1 - PostgreSQL (Embedded)\n2 - Oracle\n(" + 
database_num + "): ",
+        "[1] - PostgreSQL (Embedded)\n[2] - 
Oracle\n==============================================================================\nEnter
 choice (" + database_num + "): ",
         database_num,
         "^[12]$",
         "Invalid number.",

Reply via email to