php_pear: Unknown channel "pear.phpunit.de"

```
$ brew install https://raw.github.com/msonnabaum/megalodon/master/formulas/megalodon.rb
######################################################################## 100.0%
Error: megalodon is a head-only formula
Install with `brew install --HEAD megalodon
MacBookAir-WimLeers:~ wim.leers$ brew install --HEAD https://raw.github.com/msonnabaum/megalodon/master/formulas/megalodon.rb
######################################################################## 100.0%
==> Cloning git://github.com/msonnabaum/megalodon.git
Cloning into '/Library/Caches/Homebrew/megalodon--git'...
remote: Counting objects: 185, done.
remote: Compressing objects: 100% (122/122), done.
remote: Total 185 (delta 26), reused 137 (delta 16)
Receiving objects: 100% (185/185), 78.62 KiB, done.
Resolving deltas: 100% (26/26), done.
==> Patching
patching file megalodon
Hunk #1 succeeded at 33 with fuzz 2 (offset 29 lines).
/usr/local/Cellar/megalodon/HEAD: 109 files, 532K, built in 2 seconds
```

```
$ megalodon install
Copying custom forumulas
Starting chef-solo run
INFO: *** Chef 0.10.10 ***
INFO: Setting the run_list to ["megalodon", "megalodon::misc", "role[web_server]", "solr", "varnish", "redis", "mongodb", "php::module_mongo", "phpunit"] from JSON
INFO: Run List is [recipe[megalodon], recipe[megalodon::misc], role[web_server], recipe[solr], recipe[varnish], recipe[redis], recipe[mongodb], recipe[php::module_mongo], recipe[phpunit]]
INFO: Run List expands to [megalodon, megalodon::misc, mysql::mariadb, php, php::module_apc, php::module_memcached, php::module_xdebug, xhprof, megalodon::apache_vhosts, solr, varnish, redis, mongodb, php::module_mongo, phpunit]
INFO: Starting Chef Run for MacBookAir-WimLeers.acquia.andover
INFO: Running start handlers
INFO: Start handlers complete.
WARN: found a directory dnsmasq in the cookbook path, but it contains no cookbook files. skipping.
WARN: found a directory elasticsearch in the cookbook path, but it contains no cookbook files. skipping.
fatal: Not a git repository (or any of the parent directories): .git
sh: pear: command not found
INFO: Processing directory[/Users/wim.leers/.megalodon] action create (megalodon::default line 7)
INFO: Processing directory[/usr/local/etc/megalodon] action create (megalodon::default line 13)
INFO: directory[/usr/local/etc/megalodon] created directory /usr/local/etc/megalodon
INFO: Processing directory[/usr/local/var/www] action create (megalodon::default line 17)
INFO: directory[/usr/local/var/www] created directory /usr/local/var/www
INFO: Processing directory[/Users/wim.leers/.megalodon/data_bags] action create (megalodon::default line 21)
INFO: Processing directory[/Users/wim.leers/Library/LaunchAgents] action create (megalodon::default line 25)
INFO: Processing template[/Users/wim.leers/.megalodon.profile] action create (megalodon::default line 29)
INFO: template[/Users/wim.leers/.megalodon.profile] mode changed to 700
INFO: template[/Users/wim.leers/.megalodon.profile] updated content
INFO: Processing execute[include megalodon environment into defaults for ~/.bash_profile] action run (megalodon::default line 38)
INFO: execute[include megalodon environment into defaults for ~/.bash_profile] ran successfully
INFO: Processing execute[include megalodon environment into defaults for ~/.bashrc] action run (megalodon::default line 38)
INFO: execute[include megalodon environment into defaults for ~/.bashrc] ran successfully
INFO: Processing execute[include megalodon environment into defaults for ~/.zshrc] action run (megalodon::default line 38)
INFO: execute[include megalodon environment into defaults for ~/.zshrc] ran successfully
INFO: Processing execute[setup megalodon profile sourcing in ~/.profile] action run (megalodon::default line 44)
INFO: execute[setup megalodon profile sourcing in ~/.profile] ran successfully
INFO: Processing package[git] action install (megalodon::default line 49)
INFO: package[git] installed version 1.7.10.2
INFO: Processing script[updating homebrew from github] action run (megalodon::default line 50)
INFO: script[updating homebrew from github] ran successfully
INFO: Processing execute[install homebrew] action run (homebrew::default line 1)
INFO: Processing package[git] action install (homebrew::default line 7)
INFO: Processing execute[update homebrew from github] action run (homebrew::default line 9)
Already up-to-date.
INFO: execute[update homebrew from github] ran successfully
INFO: Processing package[autoconf] action install (megalodon::misc line 13)
INFO: package[autoconf] installed version 2.69
INFO: Processing package[automake] action install (megalodon::misc line 13)
INFO: package[automake] installed version 1.12
INFO: Processing package[coreutils] action install (megalodon::misc line 13)
INFO: package[coreutils] installed version 8.16
INFO: Processing package[bash-completion] action install (megalodon::misc line 13)
INFO: package[bash-completion] installed version 1.3
INFO: Processing package[xz] action install (megalodon::misc line 13)
INFO: Processing package[patchutils] action install (megalodon::misc line 13)
INFO: package[patchutils] installed version 0.3.1
INFO: Processing package[sqlite] action install (megalodon::misc line 13)
INFO: package[sqlite] installed version 3.7.11
INFO: Processing package[wget] action install (megalodon::misc line 13)
INFO: package[wget] installed version 1.13.4
INFO: Processing package[markdown] action install (megalodon::misc line 13)
INFO: package[markdown] installed version 1.0.1
INFO: Processing package[ctags] action install (megalodon::misc line 13)
INFO: package[ctags] installed version 5.8
INFO: Processing package[mariadb] action install (mysql::mariadb line 20)
INFO: package[mariadb] installed version 5.3.5
INFO: Processing template[/usr/local/etc/my.cnf] action create (mysql::mariadb line 22)
INFO: template[/usr/local/etc/my.cnf] updated content
INFO: Processing bash[post-install] action run (mysql::mariadb line 26)
WARNING: The host 'MacBookAir-WimLeers.acquia.andover' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MariaDB version. The MariaDB daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MariaDB privileges !
Installing MariaDB/MySQL system tables in '/usr/local/var/mysql' ...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:

/usr/local/bin/mysqladmin -u root password 'new-password'
/usr/local/bin/mysqladmin -u root -h MacBookAir-WimLeers.acquia.andover password 'new-password'

Alternatively you can run:
/usr/local/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the MariaDB knowledge or the MySQL manual for more instructions.

You can start the MariaDB daemon with:
cd /usr/local ; /usr/local/bin/mysqld_safe --datadir=/usr/local/var/mysql

You can test the MariaDB daemon with mysql-test-run.pl
cd /usr/local/mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/local/scripts/mysqlbug script!

The latest information about MariaDB is available at http://www.askmonty.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from
Monty Program Ab. You can contact us about this at sales@askmonty.org.
Alternatively consider joining our community based development effort:
http://askmonty.org/wiki/index.php/MariaDB#How_can_I_participate_in_the_development_of_MariaDB

INFO: bash[post-install] ran successfully
INFO: Processing package[php] action install (php::default line 7)
INFO: package[php] installed version 5.3.8
INFO: Processing bash[Fix the default PEAR permissions and config] action run (php::default line 12)
config-set succeeded
config-set succeeded
INFO: bash[Fix the default PEAR permissions and config] ran successfully
INFO: Processing template[/usr/local/etc/php5/php.ini] action create (php::default line 22)
INFO: template[/usr/local/etc/php5/php.ini] backed up to /var/folders/r1/2t00mlj17pl2_ssfsd8363mh0000gq/T/megalodon/backup/usr/local/etc/php5/php.ini.chef-20120515105820
INFO: template[/usr/local/etc/php5/php.ini] mode changed to 644
INFO: template[/usr/local/etc/php5/php.ini] updated content
INFO: Processing package[apc] action install (php::module_apc line 6)
INFO: package[apc] installed version 3.1.9
INFO: Processing template[/usr/local/etc/php5/conf.d/apc.ini] action create (php::module_apc line 10)
INFO: template[/usr/local/etc/php5/conf.d/apc.ini] updated content
INFO: Processing package[memcached] action install (memcached::default line 8)
INFO: package[memcached] installed version 1.4.13
INFO: Processing package[libmemcached] action install (memcached::default line 9)
INFO: package[libmemcached] installed version 1.0.4
INFO: Processing package[php-memcached] action install (php::module_memcached line 8)
INFO: package[php-memcached] installed version 1.0.2
INFO: Processing template[/usr/local/etc/php5/conf.d/memcached.ini] action create (php::module_memcached line 10)
INFO: template[/usr/local/etc/php5/conf.d/memcached.ini] updated content
INFO: Processing package[xdebug] action install (php::module_xdebug line 7)
INFO: package[xdebug] installed version 2.1.1
INFO: Processing template[/usr/local/etc/php5/conf.d/xdebug.ini] action create (php::module_xdebug line 9)
INFO: template[/usr/local/etc/php5/conf.d/xdebug.ini] updated content
INFO: Processing package[xhprof] action install (xhprof::default line 37)
INFO: package[xhprof] installed version 0.9.2
INFO: Processing template[/usr/local/etc/php5/conf.d/xhprof.ini] action create (xhprof::default line 39)
INFO: template[/usr/local/etc/php5/conf.d/xhprof.ini] updated content
INFO: Processing directory[/usr/local/etc/megalodon/apache_confs] action create (megalodon::apache_vhosts line 2)
INFO: directory[/usr/local/etc/megalodon/apache_confs] created directory /usr/local/etc/megalodon/apache_confs
INFO: Processing directory[/Users/wim.leers/.megalodon/data_bags/vhosts] action create (megalodon::apache_vhosts line 7)
INFO: Processing template[/Users/wim.leers/.megalodon/data_bags/vhosts/default.json] action create (megalodon::apache_vhosts line 12)
INFO: template[/Users/wim.leers/.megalodon/data_bags/vhosts/default.json] updated content
INFO: Processing execute[Include conf in Mac Apache with admin privileges] action run (megalodon::apache_vhosts line 20)

INFO: execute[Include conf in Mac Apache with admin privileges] ran successfully
INFO: Processing template[/usr/local/etc/megalodon/apache_confs/000-default.conf] action create (megalodon::apache_vhosts line 9)
INFO: template[/usr/local/etc/megalodon/apache_confs/000-default.conf] mode changed to 644
INFO: template[/usr/local/etc/megalodon/apache_confs/000-default.conf] updated content
INFO: Processing template[/usr/local/etc/megalodon/apache_confs/php5.conf] action create (megalodon::apache_vhosts line 43)
INFO: template[/usr/local/etc/megalodon/apache_confs/php5.conf] updated content
INFO: Processing package[solr] action install (solr::default line 18)
INFO: package[solr] installed version 3.5.0
INFO: Processing package[varnish] action install (varnish::default line 4)
INFO: package[varnish] installed version 3.0.2
INFO: Processing directory[/usr/local/etc/varnish] action create (varnish::default line 7)
INFO: Processing template[/usr/local/etc/varnish/default.vcl] action create (varnish::default line 11)
INFO: template[/usr/local/etc/varnish/default.vcl] backed up to /var/folders/r1/2t00mlj17pl2_ssfsd8363mh0000gq/T/megalodon/backup/usr/local/etc/varnish/default.vcl.chef-20120515110218
INFO: template[/usr/local/etc/varnish/default.vcl] mode changed to 644
INFO: template[/usr/local/etc/varnish/default.vcl] updated content
INFO: Processing package[redis] action install (redis::default line 4)
INFO: package[redis] installed version 2.4.13
INFO: Processing bash[copy plist firsttime] action run (redis::default line 8)
INFO: bash[copy plist firsttime] ran successfully
INFO: Processing bash[copy new plist] action run (redis::default line 16)
INFO: bash[copy new plist] ran successfully
INFO: Processing package[mongodb] action install (mongodb::default line 4)
INFO: package[mongodb] installed version 2.0.5-x86_64
INFO: Processing bash[copy plist firsttime] action run (mongodb::default line 8)
INFO: bash[copy plist firsttime] ran successfully
INFO: Processing bash[copy new plist] action run (mongodb::default line 16)
INFO: bash[copy new plist] ran successfully
INFO: Processing package[mongodb-php] action install (php::module_mongo line 7)
INFO: package[mongodb-php] installed version 1.2.2
INFO: Processing template[/usr/local/etc/php5/conf.d/mongo.ini] action create (php::module_mongo line 9)
INFO: template[/usr/local/etc/php5/conf.d/mongo.ini] updated content
INFO: Processing php_pear_channel[pear.phpunit.de] action discover (phpunit::default line 21)
ERROR: php_pear_channel[pear.phpunit.de] (phpunit::default line 21) has had an error
ERROR: php_pear_channel[pear.phpunit.de] (/usr/local/Cellar/megalodon/HEAD/cookbooks/phpunit/recipes/default.rb:21:in `from_file') had an error:
php_pear_channel[pear.phpunit.de] (phpunit::default line 21) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of pear channel-info pear.phpunit.de ----
STDOUT: Unknown channel "pear.phpunit.de"
STDERR: 
---- End output of pear channel-info pear.phpunit.de ----
Ran pear channel-info pear.phpunit.de returned 1
/Library/Ruby/Gems/1.8/gems/mixlib-shellout-1.0.0.rc.1/lib/mixlib/shellout.rb:242:in `invalid!'
/Library/Ruby/Gems/1.8/gems/mixlib-shellout-1.0.0.rc.1/lib/mixlib/shellout.rb:228:in `error!'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/mixin/shell_out.rb:36:in `shell_out!'
/usr/local/Cellar/megalodon/HEAD/cookbooks/php/providers/pear_channel.rb:84:in `exists?'
/usr/local/Cellar/megalodon/HEAD/cookbooks/php/providers/pear_channel.rb:28:in `class_from_file'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider.rb:106:in `instance_eval'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider.rb:106:in `action_discover'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource.rb:454:in `send'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource.rb:454:in `run_action'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:49:in `run_action'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:85:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:85:in `each'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:85:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:80:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:330:in `converge'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:163:in `run'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/solo.rb:207:in `run_application'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/solo.rb:195:in `loop'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/solo.rb:195:in `run_application'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:in `run'
/Library/Ruby/Gems/1.8/gems/chef-0.10.10/bin/chef-solo:25
/usr/bin/chef-solo:19:in `load'
/usr/bin/chef-solo:19
ERROR: Running exception handlers
ERROR: Exception handlers complete
FATAL: Stacktrace dumped to /var/folders/r1/2t00mlj17pl2_ssfsd8363mh0000gq/T/megalodon/cookbooks/chef-stacktrace.out
FATAL: Mixlib::ShellOut::ShellCommandFailed: php_pear_channel[pear.phpunit.de] (phpunit::default line 21) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of pear channel-info pear.phpunit.de ----
STDOUT: Unknown channel "pear.phpunit.de"
STDERR: 
---- End output of pear channel-info pear.phpunit.de ----
Ran pear channel-info pear.phpunit.de returned 1
```