- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Joomla is not working on ubuntu
- Date: Wed, 25 Jun 2014 09:50:48 -0700
On Wednesday, June 25, 2014 at 5:59 AM,
wrote:
>
>
tried to deploy joomla cookbook on ubuntu and found following issues.
>
1.Its not compatible with latest mysql cookbook.
>
joomla is having mysql::ruby this recipe does not exits in latest mysql.
>
>
2.So used older version 2.9.1 of package mysql and got following error
>
>
>
================================================================================
>
Recipe Compile Error in /var/chef/cookbooks/joomla/recipes/default.rb
>
================================================================================
>
>
>
TypeError
>
---------
>
can't convert Symbol into Integer
>
>
>
Cookbook Trace:
>
---------------
>
/var/chef/cookbooks/php-fpm/recipes/default.rb:133:in `[]'
>
/var/chef/cookbooks/php-fpm/recipes/default.rb:133:in `block in from_file'
>
/var/chef/cookbooks/php-fpm/recipes/default.rb:132:in `each'
>
/var/chef/cookbooks/php-fpm/recipes/default.rb:132:in `from_file'
>
/var/chef/cookbooks/joomla/recipes/default.rb:37:in `from_file'
>
>
>
Relevant File Content:
>
----------------------
>
/var/chef/cookbooks/php-fpm/recipes/default.rb:
>
>
126: service_name php_fpm_service_name
>
127: supports :start => true, :stop => true, :restart => true, :reload =>
>
true
>
128: action [ :enable, :start ]
>
129: end
>
130:
>
131: if node['php-fpm']['pools']
>
132: node['php-fpm']['pools'].each do |pool|
>
133>> php_fpm_pool pool[:name] do
>
134: pool.each do |k, v|
>
135: self.params[k.to_sym] = v
>
136: end
>
137: end
>
138: end
>
139: end
>
140:
>
>
>
[2014-06-25T12:52:30+00:00] DEBUG: Re-raising exception: TypeError - can't
>
convert Symbol into Integer
This means the `pool` variable is an Array and not a Hash (or Hash-like
thing).
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.