The following code run from inside a Ruby script that has loaded the etcd
gem would create the necessary
keys to deploy using the above code.
client.set('/services/fooservice/ports/3021', value: 9292)
client.set('/services/fooservice/env/TESTING_URL', value: 'http//foo.example.com/asdf')