Merge lp:~pedronis/charms/trusty/tanuki-result-enum-worker/SERVICE_ENVIRONMENT-envvar into lp:~tanuki/charms/trusty/tanuki-result-enum-worker/trunk

Proposed by Samuele Pedroni
Status: Merged
Approved by: Facundo Batista
Approved revision: 39
Merged at revision: 39
Proposed branch: lp:~pedronis/charms/trusty/tanuki-result-enum-worker/SERVICE_ENVIRONMENT-envvar
Merge into: lp:~tanuki/charms/trusty/tanuki-result-enum-worker/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-result-enum-worker/SERVICE_ENVIRONMENT-envvar
Reviewer Review Type Date Requested Status
Facundo Batista (community) Approve
Review via email: mp+269042@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 16:10:54 +0000
3+++ templates/upstart.conf 2015-08-25 11:02:13 +0000
4@@ -16,6 +16,7 @@
5
6 env LOG_DIR=/srv/result-enum-worker/{{ environment }}/logs
7 env SERVICE_DIR=/srv/result-enum-worker/{{ environment }}/result-enum-worker
8+env SERVICE_ENVIRONMENT={{ environment }}
9
10 script
11

Subscribers

People subscribed via source and target branches

to all changes: