Hey Ivan,
I think the issue is within the php module version you are using, or some inconsistency between the debian and redhat version. Please, could you look into it? I do not use debian myself. Also, if you could send me the vagrant box config you are testing this on, that might be helpful. As you see, i do require the php class inside manifests/deps/framework.pp
php::augeas { 'php-load-phalcon-2.0':
entry => 'EXT/extension',
value => 'phalcon.so',
require => [
Class['php'],
Exec['remove-phalcon-src-2.0']]
}
Also, try using the master branch (specify it as the master framework. If you do, however use the 2.0.0 branch, try to set the install_zephir parameter for the class, so that it uses the test-install script, which seems to work.
Again, on my CentOS 6.5 server it runs perfectly, both on my local machine, and on the production server.
Cheers,
Alex.