Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Created June 29, 2013 02:25
Show Gist options
  • Save juliandunn/5889407 to your computer and use it in GitHub Desktop.
Save juliandunn/5889407 to your computer and use it in GitHub Desktop.
Chef 11.6.0rc0 output on Windows
Recipe: chef-client::config
* directory[C:/chef/run] action create[2013-06-29T02:17:13+00:00] INFO: Processing directory[C:/chef/run] action creat
e (chef-client::config line 77)
================================================================================
Error executing action `create` on resource 'directory[C:/chef/run]'
================================================================================
Chef::Exceptions::Win32APIError
-------------------------------
The operation completed successfully.
---- Begin Win32 API output ----
System Error Code: 0
System Error Message: The operation completed successfully.
---- End Win32 API output ----
Resource Declaration:
---------------------
# In C:/chef/cache/cookbooks/chef-client/libraries/helpers.rb
77: directory node["chef_client"][dir] do
78: recursive true
79: mode 00750 if dir == "log_dir"
80: owner d_owner
81: group d_group
82: end
83: end
Compiled Resource:
------------------
# Declared in C:/chef/cache/cookbooks/chef-client/libraries/helpers.rb:77:in `block in create_directories'
directory("C:/chef/run") do
provider Chef::Provider::Directory
action :create
retries 0
retry_delay 2
path "C:/chef/run"
recursive true
cookbook_name "chef-client"
recipe_name "config"
owner "Administrator"
group "Administrators"
end
[2013-06-29T02:17:13+00:00] INFO: Running queued delayed notifications before re-raising exception
[2013-06-29T02:17:13+00:00] ERROR: Running exception handlers
[2013-06-29T02:17:13+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated
[2013-06-29T02:17:13+00:00] INFO: Sending resource update report (run-id: c81bac5c-57a6-4740-b84c-b3c6864436fc)
[2013-06-29T02:17:13+00:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
[2013-06-29T02:17:13+00:00] FATAL: Chef::Exceptions::Win32APIError: directory[C:/chef/run] (chef-client::config line 77)
had an error: Chef::Exceptions::Win32APIError: The operation completed successfully.
---- Begin Win32 API output ----
System Error Code: 0
System Error Message: The operation completed successfully.
---- End Win32 API output ----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment