knife-vsphere 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -185,6 +185,12 @@ class Chef::Knife::VsphereVmClone < Chef::Knife::BaseVsphereCommand
185
185
  :boolean => true,
186
186
  :default => false
187
187
 
188
+ option :log_level,
189
+ :short => "-l LEVEL",
190
+ :long => "--log_level",
191
+ :description => "Set the log level (debug, info, warn, error, fatal) for chef-client",
192
+ :proc => lambda { |l| l.to_sym }
193
+
188
194
  def run
189
195
  $stdout.sync = true
190
196
 
@@ -444,6 +450,7 @@ class Chef::Knife::VsphereVmClone < Chef::Knife::BaseVsphereCommand
444
450
  bootstrap.config[:template_file] = get_config(:template_file)
445
451
  bootstrap.config[:environment] = get_config(:environment)
446
452
  bootstrap.config[:first_boot_attributes] = get_config(:first_boot_attributes)
453
+ bootstrap.config[:log_level] = get_config(:log_level)
447
454
  # may be needed for vpc_mode
448
455
  bootstrap.config[:no_host_key_verify] = get_config(:no_host_key_verify)
449
456
  bootstrap
@@ -1,4 +1,4 @@
1
1
  module KnifeVsphere
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: knife-vsphere
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.8.0
5
+ version: 0.8.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ezra Pagel
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-08-02 00:00:00 -05:00
13
+ date: 2013-08-06 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency