[21:23] <j0sh> how do i propagate an instance variable to dependent jobs?
[21:23] <j0sh> eg, jobs that rely on "start on foo" behavior, and if 'foo' depends on an instance, how can i pass that information along?
[22:02] <JanC> j0sh: you want to start on a particular instance of foo?
[22:03] <JanC> particular instance of foo being started?
[22:08] <JanC> you can do something like: "start on started foo INSTANCE=bar"
[22:13] <j0sh> JanC: i need to start on all instances
[22:14] <j0sh> i think i figured something Close Enough by exporting the environment variable i'm trying to capture the instance into
[22:15] <JanC> http://upstart.ubuntu.com/cookbook/#standard-environment-variables --> you can probably export those
[22:17] <j0sh> yeah but im not sure if the INSTANCE environment variable is exported across dependencies (and i dont know how to check)
[22:17] <j0sh> but doing something like this worked okay
[22:17] <j0sh>   4 instance $PORT
[22:17] <j0sh>   5 export PORT
[22:19] <j0sh> is there any way to manipulate that variable, eg arithmetically?
[22:27] <JanC> you can change environment variables in a script section...