Hi all,

I'm using the pear/pecl package providers from http://www.mit.edu/~marthag/puppet/ and I've run into a memory limit problem.

I've tried hacking the script so that it passes additional options to pecl/pear, however these just error out about not being valid options (even though they are!).

I'm now at a point where the following stanza gives the error message below:

Stanza
======
package{"pear": ensure => installed,provider => 'pear';
                "zip": ensure => installed,provider => 'pecl';
        }
======

Error
======
err: //storeweb/Package[zip]/ensure: change from absent to present failed: Execution of '/usr/bin/pecl upgrade zip' returned 255: downloading zip-1.10.2.tgz ...
Starting to download zip-1.10.2.tgz (236,912 bytes)
........................................done: 236,912 bytes

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /usr/share/pear/PEAR/PackageFile/v2/Validator.php on line 170
=====

Can anyone help me figure out how to change the memory limit given that pear/pecl do not respect the settings in /etc/php.ini?

Thanks,

Matt



--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to