knife-vsphere 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/chef/knife/vsphere_vm_clone.rb +7 -0
- data/lib/knife-vsphere/version.rb +1 -1
- metadata +2 -2
|
@@ -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
|
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.
|
|
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-
|
|
13
|
+
date: 2013-08-06 00:00:00 -05:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|