[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. puppet-0.24.5-rc3-1456-g2f0b1e5
James Turnbull
james at lovedthanlost.net
Tue Oct 27 17:05:26 UTC 2009
The following commit has been merged in the upstream branch:
commit d054fd91c9f6e4689b28a1db7206574c2c67ef14
Author: Luke Kanies <luke at madstop.com>
Date: Fri Sep 18 12:57:09 2009 -0700
Fixing #2656 - puppet parseonly tests don't hang
It was hanging reading stdin because no code had
been supplied.
Signed-off-by: Luke Kanies <luke at madstop.com>
diff --git a/spec/unit/application/puppet.rb b/spec/unit/application/puppet.rb
index 00fe1dd..3c11430 100755
--- a/spec/unit/application/puppet.rb
+++ b/spec/unit/application/puppet.rb
@@ -143,6 +143,7 @@ describe "Puppet" do
@interpreter = stub_everything
Puppet.stubs(:err)
@puppet.stubs(:exit)
+ @puppet.options.stubs(:[]).with(:code).returns "some code"
Puppet::Parser::Interpreter.stubs(:new).returns(@interpreter)
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list