Bug 999667 - rhcsh should avoid calling load_env on erb files in env directories
Summary: rhcsh should avoid calling load_env on erb files in env directories
Keywords:
Status: CLOSED DUPLICATE of bug 999013
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-21 19:57 UTC by Andy Grimm
Modified: 2016-11-08 03:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-21 20:12:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Andy Grimm 2013-08-21 19:57:14 UTC
Description of problem:

Several cartridges have erb templates in their env directory.  rhcsh tries to source them resulting in ugly errors:

bash: export: `OPENSHIFT_MYSQL_DB_LOG_DIR.erb=<%= ENV['OPENSHIFT_MYSQL_DIR'] %>/log/': not a valid identifier
bash: export: `OPENSHIFT_MYSQL_DB_SOCKET.erb=<%= ENV['OPENSHIFT_MYSQL_DIR'] %>/socket/mysql.sock': not a valid identifier
bash: export: `OPENSHIFT_PHP_LOG_DIR.erb=<%= ENV['OPENSHIFT_PHP_DIR'] %>/logs/': not a valid identifier
bash: export: `OPENSHIFT_PHP_LOG_DIR.erb=<%= ENV['OPENSHIFT_PHP_DIR'] %>/logs/': not a valid identifier

Comment 1 Dan McPherson 2013-08-21 20:12:39 UTC

*** This bug has been marked as a duplicate of bug 999013 ***


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