How do I pass parameters (preferably via attributes) to the database block in the application_ruby cookbook?
What I want to do is something like:
application “my_app” do
It looks like the database block does not have access to the node object.
I have the application resource inside a definition, so I also tried to pass parameters to it, like params[:db_user], but that does not work either.
How do I set those database parameters dynamically?