[chef] php_pear doesn't seem to do anything


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] php_pear doesn't seem to do anything
  • Date: Mon, 22 Oct 2012 17:05:08 -0200

Hi Chefs,

I'm trying to get the php_pear LWRP to install the PECL package gearman.

To that intent, I have added the php opscode cookbook as a dependency, and then inserted the following lines of code in the recipe:

php_pear "gearman" do
  action :install
end

When the chef-client runs, I can see this in the logs:

[Mon, 22 Oct 2012 18:48:44 +0000] INFO: Processing php_pear_channel[pear.php.net] action update (php::default line 25)
[Mon, 22 Oct 2012 18:48:45 +0000] INFO: Processing php_pear_channel[pecl.php.net] action update (php::default line 29)
[Mon, 22 Oct 2012 18:48:52 +0000] INFO: Processing php_pear[gearman] action install (zynkconverter::default line 17)

But no gearman package gets installed. If i then later SSH into the machine and call "pecl install gearman", it does what I want but kinda misses the point of using Chef :)

Any pointers?

Thanks!

-- 
Cassiano Leal




Archive powered by MHonArc 2.6.16.

§