Trouble installing php_pear Protobuf package


#1

Hi All

I am trying to install php_pear package Protobuf. I am trying to install
beta version. when I install it manually by ,

pear channel-discover pear.pollinimini.net
pear install drslump/Protobuf-beta

It is successfull but with chef it fails

My recipe is

include_recipe “php”

drslump = php_pear_channel “pear.pollinimini.net” do

action :discover

action :update

end

php_pear Protobuf do

preferred_state "beta"

channel drslump.channel_name

action :install

end

but I get

STDOUT: Failed to download drslump/Protobuf within preferred state
"beta", latest release is version 0.9.4, stability “beta”, use
"channel://pear.pollinimini.net/Protobuf-0.9.4" to install

I tried all available options but no help.

Can somebody please help if anybody has tried it before.

Thanks

Abhijit