[chef-dev] Cannot find a resource for grant_statement on centos version 6.3


Chronological Thread 
  • From: Jay Flowers < >
  • To: chef-dev < >
  • Subject: [chef-dev] Cannot find a resource for grant_statement on centos version 6.3
  • Date: Fri, 28 Dec 2012 11:23:48 -0500

I am working on getting the gitlab cookbook from source, not the latest published version, working with chef-solo.  I have gotten to the point where it is trying to grant permissions to a mysql user where it fails:

# In /etc/chef/chef-solo-1/cookbooks/gitlab/recipes/mysql.rb

 56: mysql_database_user database_user do
 57:   connection      database_connection
 58:   database_name   database
 59:   action          :grant
 60: end

...

[2012-12-27T20:58:20+00:00] DEBUG: Re-raising exception: NameError - mysql_database_user[gitlab] (gitlab::mysql line 56) had an error: NameError: Cannot find a resource for grant_statement on centos version 6.3

I am at a loss as to why this is failing.  Can I get a clue?  

Thanks,


--
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
---------------------------------------------------------------------



Archive powered by MHonArc 2.6.16.

§