php_pear command should run as a configurable user/group

I had a permission issue with the php_pear command not running as root on Ubuntu (Vagrant precise64). This is fixed by running the shell_out command as a root user/group. Is it possible to make this configurable in this cookbook?