Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Plain Text by hippiehacker ( 14 years ago )
:\chef>chef-client
[2012-12-05T09:17:40-08:00] INFO: *** Chef 10.16.2 ***
[2012-12-05T09:17:50-08:00] INFO: Run List is [recipe[webpi]]
[2012-12-05T09:17:50-08:00] INFO: Run List expands to [webpi]
[2012-12-05T09:17:50-08:00] INFO: Starting Chef Run for jlc-win2k8r2-2.nw.nos.boeing.com
[2012-12-05T09:17:50-08:00] INFO: Running start handlers
[2012-12-05T09:17:50-08:00] INFO: Start handlers complete.
[2012-12-05T09:17:51-08:00] INFO: Loading cookbooks [chef_handler, webpi, windows]
[2012-12-05T09:17:51-08:00] INFO: Processing remote_file[C:/chef/cache/webpicmd_x86.zip] action create (webpi::default
line /chef/cache/cookbooks/webpi/recipes/default.rb)
[2012-12-05T09:17:52-08:00] INFO: remote_file[C:/chef/cache/webpicmd_x86.zip] updated
[2012-12-05T09:17:52-08:00] INFO: remote_file[C:/chef/cache/webpicmd_x86.zip] sending unzip action to windows_zipfile[w
ebpicmdline] (immediate)
[2012-12-05T09:17:52-08:00] INFO: Processing windows_zipfile[webpicmdline] action unzip (webpi::default line /chef/cach
e/cookbooks/webpi/recipes/default.rb)
[2012-12-05T09:17:52-08:00] INFO: Missing gem 'rubyzip'...installing now.
[2012-12-05T09:17:52-08:00] INFO: Processing chef_gem[rubyzip] action install (C line /chef/cache/cookbooks/windows/pro
viders/zipfile.rb)
================================================================================
Error executing action `install` on resource 'chef_gem[rubyzip]'
================================================================================
NoMethodError
-------------
undefined method `full_name' for nil:NilClass
Cookbook Trace:
---------------
C:/chef/cache/cookbooks/windows/providers/zipfile.rb:86:in `rescue in ensure_rubyzip_gem_installed'
C:/chef/cache/cookbooks/windows/providers/zipfile.rb:82:in `ensure_rubyzip_gem_installed'
C:/chef/cache/cookbooks/windows/providers/zipfile.rb:28:in `block in class_from_file'
Resource Declaration:
---------------------
# In C:/chef/cache/cookbooks/windows/providers/zipfile.rb
86: chef_gem "rubyzip" do
87: version "0.9.5"
88: end
89: require 'zip/zip'
Compiled Resource:
------------------
# Declared in C:/chef/cache/cookbooks/windows/providers/zipfile.rb:86:in `rescue in ensure_rubyzip_gem_installed'
chef_gem("rubyzip") do
provider Chef::Provider::Package::Rubygems
action :install
retries 0
retry_delay 2
package_name "rubyzip"
version "0.9.5"
cookbook_name "webpi"
end
================================================================================
Error executing action `unzip` on resource 'windows_zipfile[webpicmdline]'
================================================================================
NoMethodError
-------------
chef_gem[rubyzip] (C line /chef/cache/cookbooks/windows/providers/zipfile.rb) had an error: NoMethodError: undefined me
thod `full_name' for nil:NilClass
Cookbook Trace:
---------------
C:/chef/cache/cookbooks/windows/providers/zipfile.rb:86:in `rescue in ensure_rubyzip_gem_installed'
C:/chef/cache/cookbooks/windows/providers/zipfile.rb:82:in `ensure_rubyzip_gem_installed'
C:/chef/cache/cookbooks/windows/providers/zipfile.rb:28:in `block in class_from_file'
Resource Declaration:
---------------------
# In C:/chef/cache/cookbooks/webpi/recipes/default.rb
29: windows_zipfile "webpicmdline" do
30: path node['webpi']['home']
31: source "#{Chef::Config[:file_cache_path]}/#{file_name}"
32: action :unzip
33: not_if { ::File.exists?("#{node['webpi']['home']}/WebpiCmdLine.exe") }
34: end
Compiled Resource:
------------------
# Declared in C:/chef/cache/cookbooks/webpi/recipes/default.rb:29:in `from_file'
windows_zipfile("webpicmdline") do
action [:unzip]
retries 0
retry_delay 2
cookbook_name "webpi"
recipe_name "default"
path "C:\\webpi"
source "C:/chef/cache/webpicmd_x86.zip"
not_if { #code block }
end
[2012-12-05T09:17:55-08:00] ERROR: Running exception handlers
[2012-12-05T09:17:55-08:00] FATAL: Saving node information to C:/chef/cache/failed-run-data.json
[2012-12-05T09:17:55-08:00] ERROR: Exception handlers complete
[2012-12-05T09:17:55-08:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
[2012-12-05T09:17:55-08:00] FATAL: NoMethodError: windows_zipfile[webpicmdline] (webpi::default line /chef/cache/cookbo
oks/webpi/recipes/default.rb) had an error: NoMethodError: chef_gem[rubyzip] (C line /chef/cache/cookbooks/windows/prov
iders/zipfile.rb) had an error: NoMethodError: undefined method `full_name' for nil:NilClass
c:\chef>^A
Revise this Paste
Children: 66802