The mysql::server recipe doesn't work on 10.04. I cloned from the cookbook repository and encountered errors.
WARN: Missing gem 'mysql'
INFO: Installing gem_package[mysql] version 2.8.1 ruby x86-mingw32 x86-mswin32
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/mixin/ command.rb:181:in `handle_command_failures': gem install mysql -q -- no-rdoc --no-ri -v "2.8.1 ruby x86-mingw32 x86-mswin32" returned 1, expected 0 (Chef::Exceptions::Exec)
$ sudo gem install mysql -q --no-rdoc --no-ri -v "2.8.1 ruby x86- mingw32 x86-mswin32"
ERROR: While executing gem ... (ArgumentError)
Illformed requirement ["2.8.1 ruby x86-mingw32 x86-mswin32"]
Manually installing the mysql gem uncovers another error.
$ sudo gem install mysql
INFO: Backing up template[/etc/mysql/grants.sql] to /etc/mysql/ grants.sql.chef-20100515233421
[Sat, 15 May 2010 23:34:21 -0600] ERROR: ruby_block[save node data] (/home/vbox/share_vbox/chef-solo/cookbooks/mysql/recipes/server.rb line 88) had an error:
undefined method `closed?' for nil:NilClass
/usr/local/lib/ruby/1.8/net/http.rb:1060:in `request'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/rest/ rest_request.rb:58:in `call'
Is the MySQL cookbook working on 10.04 for anyone?
Archive powered by MHonArc 2.6.16.