Skip to content

Instantly share code, notes, and snippets.

@iroller
Created February 11, 2014 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iroller/8935530 to your computer and use it in GitHub Desktop.
Save iroller/8935530 to your computer and use it in GitHub Desktop.
[2014-02-11T14:09:37+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /tmp/kitchen
One version per cookbook
[2014-02-11T14:09:37+00:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 11.10.0
[2014-02-11T14:09:37+00:00] INFO: *** Chef 11.10.0 ***
[2014-02-11T14:09:37+00:00] INFO: Chef-client pid: 3733
[2014-02-11T14:09:37+00:00] INFO: Setting the run_list to ["recipe[my-users::default]"] from JSON
[2014-02-11T14:09:37+00:00] INFO: Run List is [recipe[my-users::default]]
[2014-02-11T14:09:37+00:00] INFO: Run List expands to [my-users::default]
[2014-02-11T14:09:37+00:00] INFO: Starting Chef Run for default-precise64-virtualbox
[2014-02-11T14:09:37+00:00] INFO: Running start handlers
[2014-02-11T14:09:37+00:00] INFO: Start handlers complete.
[2014-02-11T14:09:37+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/default-precise64-virtualbox/runs
resolving cookbooks for run list: ["my-users::default"]
[2014-02-11T14:09:37+00:00] INFO: Loading cookbooks [my-users, logit, partial_search, users]
Synchronizing Cookbooks:
- my-users
- users
- partial_search
- logit
Compiling Cookbooks...
================================================================================
Recipe Compile Error in /tmp/kitchen/cache/cookbooks/my-users/recipes/default.rb
================================================================================
NoMethodError
-------------
No resource or method named `users_manage' for `Chef::Recipe "default"'
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/my-users/recipes/default.rb:46:in `block in from_file'
/tmp/kitchen/cache/cookbooks/my-users/recipes/default.rb:36:in `each'
/tmp/kitchen/cache/cookbooks/my-users/recipes/default.rb:36:in `from_file'
Relevant File Content:
----------------------
/tmp/kitchen/cache/cookbooks/my-users/recipes/default.rb:
43:
44: # Searches data bag "users" for groups attribute "#{group_name}".
45: # Places returned users in Unix group "#{group_name}" with proper GID.
46>> users_manage group_name do
47: group_id gid
48: action [ :remove, :create ]
....
53: end
54: end
55:
Running handlers:
[2014-02-11T14:09:37+00:00] ERROR: Running exception handlers
Running handlers complete
[2014-02-11T14:09:37+00:00] ERROR: Exception handlers complete
[2014-02-11T14:09:37+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 0.546657766 seconds
[2014-02-11T14:09:37+00:00] ERROR: No resource or method named `users_manage' for `Chef::Recipe "default"'
[2014-02-11T14:09:37+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment