lib/chef/knife/winrm_shared_options.rb in knife-windows-1.8.0 vs lib/chef/knife/winrm_shared_options.rb in knife-windows-1.9.0
- old
+ new
@@ -37,9 +37,16 @@
option :attribute,
:short => "-a ATTR",
:long => "--attribute ATTR",
:description => "The attribute to use for opening the connection - default is fqdn",
:default => "fqdn"
+
+ option :concurrency,
+ :short => "-C NUM",
+ :long => "--concurrency NUM",
+ :description => "The number of allowed concurrent connections",
+ :default => 1,
+ :proc => lambda { |o| o.to_i }
end
end
end
end