Have a rails database.yml installed via chef:
username: <%= ENV[‘PROD_DB_USER’] %>
password: <%= ENV[‘PROD_DB_PASSWORD’] %>
I want to to look like this when it’s installed - but Chef is
rendering the ENV vars during the install.
I’d rather not have that done - just like to use the ENV variables the
I’d really like chef to just install this - treat is as a text file
and just install. Is that possible?
Any tips? I’ve looked through the Chef and Erubis docs as well as done
lots of Googling.
Also posted here: https://gist.github.com/4496942