example42/puppet-php — pull request #3 by Freeaqingme (2012-11-18 23:00:39+00:00)
Title: Made php::pear configurable

Zend Server provides PEAR and PHP in the same Debian package (which isn't called php-pear). Therefore, I first added functionality to provide an alternative name, after that I added functionality to simply disable the installation of the package - to prevent the error below:

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Package[php-pear] to ["zend-server-php-5.4"] at /etc/puppet/environments/development/modules/php/manifests/pear.pp:17; resource ["Package", "zend-server-php-5.4"] already defined at /etc/puppet/environments/development/modules/php/manifests/init.pp:213 at /etc/puppet/environments/development/modules/php/manifests/pear.pp:17 on node dev.enriserestfulskeletonapplication.dev