- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Joomla is not working on ubuntu
- Date: Wed, 2 Jul 2014 08:22:10 -0700
On Tuesday, July 1, 2014 at 10:24 PM, Venkatesh Ainalli wrote:
>
Hi
>
Tried with latest php-fpm getting same issue.
>
>
Starting Chef Client, version 11.12.8
>
Compiling Cookbooks...
>
>
================================================================================
>
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/configure.rb:31:in `[]'
>
/var/chef/cookbooks/php-fpm/recipes/configure.rb:31:in `block in from_file'
>
/var/chef/cookbooks/php-fpm/recipes/configure.rb:30:in `each'
>
/var/chef/cookbooks/php-fpm/recipes/configure.rb:30:in `from_file'
>
/var/chef/cookbooks/php-fpm/recipes/default.rb:22:in `from_file'
>
/var/chef/cookbooks/joomla/recipes/default.rb:37:in `from_file'
>
>
>
Relevant File Content:
>
----------------------
>
/var/chef/cookbooks/php-fpm/recipes/configure.rb:
>
>
24: owner "root"
>
25: group "root"
>
26: notifies :restart, "service[php-fpm]"
>
27: end
>
28:
>
29: if node['php-fpm']['pools']
>
30: node['php-fpm']['pools'].each do |pool|
>
31>> php_fpm_pool pool[:name] do
where does the attribute `node['php-fpm']['pools’]` get set? It looks like
it’s expected to be an Array of Hashes, like
[ {“name” => name, key2 => value2, …}, { “name” => name2, …} ]
but you have set it to an Array.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.