Take a look at the chef docs . They have all of this covered in there . On 10 Nov 2013 12:59, "Jason Hsu, Rubyist" <jhsu802...@gmail.com> wrote:
> Thanks, but I still don't understand how to use chef. > > Let's say that I'm using PostgreSQL for my database, and the name of the > database is "pg_test1". > > Suppose that in my development environment, the database username is > "user1", and the database password is "password1". In my production > environment, the database name is "pg_test2", the database username is > "password2". > > How would I use Chef and data bags (or solo or something else) to set > these parameters for config/database.yml? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/4a43fb6f-3677-4cbf-8d44-5b3a724a9b16%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJ%3Dox-DrQ2hb9qCOfddc5Z4qmp%3D-FFYj4kTGo%3DpcgVyY%2BQVNhA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.