News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Till Klampaeckel's Blog:
Deploying PHP applications PEAR and composer resources for chef
February 27, 2012 @ 13:17:57

In a new post to his site Till Klampaeckel shows how to use PEAR and composer resources (two popular PHP package management tools) from inside of a chef deployment script.

This is something experimental I have been working on for our chef deployments. So the objective was/is to find a sane way to install PEAR packages and install dependencies with composer.

He shows how to set up the configuration script to discover a new PEAR channel, make the chef script not "fail hard" if a command returns a failed response code (as PEAR will do if the channel is already discovered). The "ignore_failure" configuration directive comes in handy for this. He also shows how to implement a LWRP in chef for both a PEAR and Composer resource.

You can find the code for this and other cookbook examples on his github account.

0 comments voice your opinion now!
deploy application chef pear composer lwrp resource custom package dependency


blog comments powered by Disqus

Similar Posts

Pierre-Alain Joye's Blog: PEAR-1.4.10 released, open_basedir support enhanced

Kevin Schroeder's Blog: My first stab at the Dependency Injection Container in Zend Framework 2

PHPImpact Blog: PHPUnit: Testing Zend Framework Controllers

Matthew Turland's Blog: Custom building php on windows and linux

Hartmut Holzgraefe's Blog: PHP Graphviz Extension


Community Events





Don't see your event here?
Let us know!


language zendserver release voicesoftheelephpant framework series bugfix community threedevsandamaybe introduction deployment list development api podcast conference interview laravel tips code

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework