- From: Jon Wood <
>
- To:
- Subject: [chef] Opscode MySQL cookbook
- Date: Fri, 30 Apr 2010 12:12:01 +0100
Hi,
I'm trying to set up an application to deploy using Chef, and I'm
having some trouble with the MySQL cookbook from the Opscode
repository when including the mysql::client recipe on first run. The
client recipe has the following running under Ubuntu:
gem_package "mysql" do
action :nothing
end
r.run_action(:install)
That fails on the first run using my base image, because at the point
that the cookbook gets loaded and attempts to install the mysql gem I
don't have ruby1.8-dev installed yet. The ruby cookbook is being
included in a default role applied to all nodes, but doesn't get a
chance to run in time.
Is there a particular reason for forcing both the gem and mysql-devel
to be installed immediately, rather then respecting my run list's
order?
Cheers,
Jon
- [chef] Opscode MySQL cookbook, Jon Wood, 04/30/2010
Archive powered by MHonArc 2.6.16.