- From: Joshua Timberman <
>
- To:
- Subject: [chef] Re: Can't set encoding on MySQL database
- Date: Mon, 21 Nov 2011 18:59:10 -0700
On Nov 21, 2011, at 12:33 PM, Kevin Harvey wrote:
>
Joshua, thank you so much. I'm working on getting this in my recipe now.
>
However, I first tried dropping in the brand new v 1.2.1 MySQL cookbook and
>
got this error: "NoMethodError: undefined method `mysql_database' for
>
#<Chef::Recipe:0xb6c7bf94>"
>
>
Is there a how to guide for upgrading cookbooks anywhere?
The mysql_database resource is moved to the `database` cookbook in the latest
version.
If your local Chef Repository is a Git version controlled repository, you
should use `knife cookbook site install` to retrieve new versions.
knife cookbook site install mysql
knife cookbook site install database
This will automatically integrate the cookbooks into your repository,
creating branches and revision tags as described here:
http://wiki.opscode.com/display/chef/Working+with+Git+and+Cookbooks
See the section "Tracking upstream changes."
Archive powered by MHonArc 2.6.16.