When I look in my /usr/bin/pecl file I see that it is a 4 line shell script and one of the parameters there sets the memory_limit. Did you try hacking that?
On 03/08/2010 12:16, li...@truthisfreedom.org.uk wrote: > 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 > > > -- Trevor Hemsley Infrastructure Engineer ................................................. * C A L Y P S O * Brighton, UK OFFICE +44 (0) 1273 666 350 FAX +44 (0) 1273 666 351 ................................................. www.calypso.com This electronic-mail might contain confidential information intended only for the use by the entity named. If the reader of this message is not the intended recipient, the reader is hereby notified that any dissemination, distribution or copying is strictly prohibited. * P * /*/ Please consider the environment before printing this e-mail /*/ -- 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.