Any assistance would be appreciated–I’m sort of at a loss at this point.
I’ve been doing some hacking on chef and the application cookbook (following
some good write-ups people have posted on their blogs) and have an EC2 node
that comes up with ruby 1.9, chef 0.10, rails 3.1.0, etc.
All seems good except that the mysql gem is not getting installed (or not
getting installed early enough?) and so the process fails when the database
master role tries to create the database, for which it is apparently using
the mysql gem (specifically: “INFO: Processing mysql_database[create
zmx_staging] action create_db (database::master line 84)”).
I check at that point and no, there is no mysql gem. If I install the gem
manually and then run chef-client, the configuration continues and succeeds.
As far as I can tell, I shouldn’t have to be specifying any of the mysql
recipes in any of my roles files, nor include the gem in the gems list of
the apps data bag (since that shouldn’t apply until later).
Suggestions? More info I can provide?
Thanks…
dwh