Merge lp:~pedronis/charms/trusty/tanuki-spec-manager/SERVICE_ENVIRONMENT-envvar into lp:~tanuki/charms/trusty/tanuki-spec-manager/trunk

Proposed by Samuele Pedroni
Status: Merged
Approved by: Facundo Batista
Approved revision: 21
Merged at revision: 21
Proposed branch: lp:~pedronis/charms/trusty/tanuki-spec-manager/SERVICE_ENVIRONMENT-envvar
Merge into: lp:~tanuki/charms/trusty/tanuki-spec-manager/trunk
Diff against target: 10 lines (+1/-0)
1 file modified
templates/upstart.conf (+1/-0)
To merge this branch: bzr merge lp:~pedronis/charms/trusty/tanuki-spec-manager/SERVICE_ENVIRONMENT-envvar
Reviewer Review Type Date Requested Status
Facundo Batista (community) Approve
Review via email: mp+269037@code.launchpad.net

Commit message

introduce a SERVICE_ENVIRONMENT envar

Description of the change

introduce a SERVICE_ENVIRONMENT envar, mostly so the code can take simple decisions, should be used sparingly though

To post a comment you must log in.
Revision history for this message
Facundo Batista (facundo) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'templates/upstart.conf'
2--- templates/upstart.conf 2015-07-22 14:52:16 +0000
3+++ templates/upstart.conf 2015-08-25 10:48:17 +0000
4@@ -16,6 +16,7 @@
5
6 env LOG_DIR=/srv/spec-manager/{{ environment }}/logs
7 env SERVICE_DIR=/srv/spec-manager/{{ environment }}/spec-manager
8+env SERVICE_ENVIRONMENT={{ environment }}
9
10 script
11

Subscribers

People subscribed via source and target branches

to all changes: