1
vote
2answers
1k views

Install `mysql` gem for use in `chef-client`?

I am trying to deploy a rails application using chef, for the mysql cookbook to create a database, it needs the mysql gem. The mysql gem is installed system-wide by using an Ubuntu package, but this ...
10
votes
6answers
10k views

How to set ulimits for a service starting at boot?

I need, for mysql to use large-pages, to set a ulimit - I've done this in limits.conf. However, limits.conf (pam_limits.so), doesn't get read in for init, only for "real" shells. I solved this before ...
2
votes
1answer
3k views

How do I use Chef Data bags to setup a mysql server

Ok I'm getting started with Chef using the opscode server. I'm using the community cookbooks, and I've got basics working (I created a users/myname.json data bag and added the user::sysadmins recipe ...