cloudfoundry/cf-release — pull request #232 by rkoster (2013-12-04 17:12:07+00:00)
Title: Use single fog_connection hash for ccng

As was discussed [here](https://github.com/cloudfoundry/cf-release/pull/225#issuecomment-29748984) a pull request to expose a single fog_connection hash that gets passed through.

I would love to hear suggestions on how to improve the code used for rendering the `fog_connection` hash:
```erb
<% fog_connection = { resource_pool: { fog_connection: fog_connection }} %>
<%= "\n" + fog_connection.to_yaml.lines.to_a[3..-1].join %>
```
Currently I merge the incoming hash in a nested hash to get the right indentation level. After which I strip the first 3 lines. The `"\n"` is for moving the output to the next line otherwise it would have a double indentation.