Add more flexibile config templating

Moved this over from swift-private-cloud.

Partial fix for rcbops-cookbooks/swift-private-cloud#179