Support configuration sent in environment
Bug #1123965 reported by
Marius B. Kotsbak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
node-app (Juju Charms Collection) |
Fix Committed
|
Undecided
|
Marius B. Kotsbak |
Bug Description
Related to bug #1123939, run the specified command ("web" as default), but add configuration variables (port, mongodb port etc.) to environment. It could be executed in this way:
env `cat config/web.env` node_cmd_line
Related branches
lp://staging/~mariusko/charms/precise/node-app/lp1123939_procfile_support
- Juan L. Negron (community): Disapprove
-
Diff: 154 lines (+82/-19)4 files modifiedREADME.markdown (+16/-1)
hooks/config-changed (+48/-0)
hooks/install (+6/-16)
hooks/mongodb-relation-changed (+12/-2)
lp://staging/~mariusko/charms/precise/node-app/trunk
- Marco Ceppi (community): Approve
-
Diff: 11 lines (+1/-0)1 file modifiedhooks/config-changed (+1/-0)
description: | updated |
tags: | added: patch |
Changed in node-app (Juju Charms Collection): | |
status: | New → In Progress |
Changed in node-app (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Implementing this in connection to bug #1123939 as it is naturally connected to using foreman.