[chef-dev] problem with LWRP Resource loader


Chronological Thread 
  • From: Alexey Khristov < >
  • To: < >
  • Subject: [chef-dev] problem with LWRP Resource loader
  • Date: Tue, 10 Apr 2012 14:46:01 +0300

Hi guys,

I need help with LWRP Resources (http://wiki.opscode.com/display/chef/Opscode+LWRP+Resources#OpscodeLWRPResources-php)

try run recipe with code:

php_pear "mongo" do
  action :install 
end


and receive error:

FATAL: NoMethodError: undefined method `php_pear' for #<Chef::Recipe:0x7f554185ab68>

Full log attached.

Can you advice how to fix the problem?
-- 
Best regards,
Alexey Khristov

php-developer
http://2gis.ru/
Generated at Tue Apr 10 11:37:01 +0000 2012
NoMethodError: undefined method `php_pear' for #<Chef::Recipe:0x7f554185ab68>
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:56:in
 `method_missing'
/var/chef/cookbooks/jsapi/recipes/phing.rb:39:in `from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/cookbook_version.rb:578:in
 `load_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:40:in
 `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:27:in
 `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:27:in
 `include_recipe'
/var/chef/cookbooks/jsapi/recipes/default.rb:17:in `from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/cookbook_version.rb:578:in
 `load_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:40:in
 `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:27:in
 `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:27:in
 `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/run_context.rb:72:in 
`load'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/run_context.rb:69:in 
`each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/run_context.rb:69:in 
`load'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:195:in 
`setup_run_context'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:159:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/solo.rb:192:in
 `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/solo.rb:183:in
 `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/solo.rb:183:in
 `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in 
`run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-solo:25
/usr/bin/chef-solo:19:in `load'
/usr/bin/chef-solo:19


Archive powered by MHonArc 2.6.16.

§