[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Dan Bode
bodepd at gmail.com
Tue May 10 08:05:34 UTC 2011
The following commit has been merged in the experimental branch:
commit 353b9145e465a002f1b66f2a616cce3a8647d370
Author: Dan Bode <bodepd at gmail.com>
Date: Tue Mar 1 19:09:20 2011 -0600
(14) updated interface_base to support multiple command line arguments
diff --git a/lib/puppet/application/interface_base.rb b/lib/puppet/application/interface_base.rb
index d54ac79..58fc3b8 100644
--- a/lib/puppet/application/interface_base.rb
+++ b/lib/puppet/application/interface_base.rb
@@ -63,7 +63,8 @@ class Puppet::Application::InterfaceBase < Puppet::Application
def setup
Puppet::Util::Log.newdestination :console
- @verb, @arguments = command_line.args
+ @verb = command_line.args.shift
+ @arguments = command_line.args
@arguments ||= []
@arguments = Array(@arguments)
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list