Bug 781591 - Add environment variable information to command line when a cart gets added
Summary: Add environment variable information to command line when a cart gets added
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 1.x
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Alex Boone
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-13 19:52 UTC by Clayton Coleman
Modified: 2012-06-04 03:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-16 13:54:37 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Clayton Coleman 2012-01-13 19:52:54 UTC
Description of problem:
When a user adds a cartridge from the command line that is database based, we output the username, password, port, and url that they can use to access that.  However, if you are developer doing this the first time you may not realize that you can also access these via environment variables.  We should include in the "success" output the exact environment variable names for each value (probably as a separate section).  

We could eventually add something to automatically fill these values in or prompt (You added mySQL to a Rails cart, do you wish to update database.yml to use these environment variables).  That would be a way to smooth a common problem on setup.  

Version-Release number of selected component (if applicable):
1

How reproducible:
Always (noticed during postgre demo)

Steps to Reproduce:
1. Using rhc, add a mysql or postgre cartridge to an application
  
Actual results:
See info about user/password/url

Expected results:
See the environment variable names these will be available under

Comment 1 Alex Boone 2012-01-16 13:54:37 UTC
I have converted this to a User Story in Rally (US1753), as it's a feature request


Note You need to log in before you can comment on or make changes to this bug.