[chef] trouble installing php_pear Protobuf package


Chronological Thread 
  • From: Abhijit Vaidya < >
  • To:
  • Subject: [chef] trouble installing php_pear Protobuf package
  • Date: Fri, 14 Feb 2014 21:56:42 +0530

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





  • [chef] trouble installing php_pear Protobuf package, Abhijit Vaidya, 02/14/2014

Archive powered by MHonArc 2.6.16.

§