[Puppet Users] Re: rpm failing on RHEL4

2009-03-26 Thread Thomas Bikeev
ok, I found it (partially). It is caused by $stdout.reopen(tempfile) in puppet's execute function in utils.rb It's further caused by rb_scan_args in ruby's class.c - did not investigate why exactly ... Here is how to reproduce in irb: require 'tempfile' t = Tempfile.new("puppet") begin $st

[Puppet Users] Re: rpm failing on RHEL4

2009-03-26 Thread Thomas Bikeev
ok, I found it (partially). It is caused by $stdout.reopen(tempfile) in puppet's execute function in utils.rb It's further caused by rb_scan_args in ruby's class.c - did not investigate why exactly ... Here is how to reproduce in irb: require 'tempfile' t = Tempfile.new("puppet") begin $st

[Puppet Users] Re: rpm failing on RHEL4

2009-03-25 Thread Thomas Bikeev
Hi Avi, you are right but it does not really matter, the trouble already begins with debug: Puppet::Type::Package::ProviderRpm: Executing '/bin/rpm -- version' wrong number of arguments (2 for 1) Thomas On Mar 24, 9:49 pm, Avi Miller wrote: > Hi, > > On Wed, Mar 25, 2009 at 3:49 AM, Thomas B

[Puppet Users] Re: rpm failing on RHEL4

2009-03-24 Thread Avi Miller
Hi, On Wed, Mar 25, 2009 at 3:49 AM, Thomas Bikeev wrote: > echo 'package {"apache2": ensure => installed, noop => true, }' | There is no apache2 package in Red Hat Enterprise Linux. You need to install the "httpd" package instead. cYa, Avi --~--~-~--~~~---~--~