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
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
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
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
--~--~-~--~~~---~--~