[chef] Re: Re: recipe[mysql::server] error on centos -- (grant/access denied)


Chronological Thread 
  • From: E Camden Fisher < >
  • To:
  • Subject: [chef] Re: Re: recipe[mysql::server] error on centos -- (grant/access denied)
  • Date: Thu, 30 Dec 2010 15:13:05 -0800 (PST)

Note: replied directly to Seth by accident, replying to list

chef-repo fish$  knife cookbook site vendor mysql
INFO: Downloading mysql from the cookbooks site at version 0.24.3
INFO: Cookbook saved: /Users/fish/tmp/chef-repo/cookbooks/mysql.tar.gz
INFO: Checking out the master branch.
INFO: Checking the status of the vendor branch.
INFO: Vendor branch found.
/Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/mixin/command.rb:184:in
`handle_command_failures': git checkout chef-vendor-mysql returned 1, expected
0 (Chef::Exceptions::Exec)
        from
/Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/mixin/command.rb:131:in
`run_command'
        from
/Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/knife/cookbook_site_vendor.rb:70:in
`run'
        from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/knife.rb:127:in
`run'
        from
/Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/application/knife.rb:121:in
`run'
        from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/knife:25
        from /usr/bin/knife:19:in `load'
        from /usr/bin/knife:19


I was able to get it done by:

 rm -Rf cookbooks/mysql{,.tar.gz}
 knife cookbook site vendor -d mysql
 cd cookbooks 
 tar -zxvf mysql.tar.gz

What did I miss?  Shouldn't I be able to just upgrade it?



Archive powered by MHonArc 2.6.16.

§