Skip to content

Instantly share code, notes, and snippets.

@levmichael3
Created February 16, 2015 09:38
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 levmichael3/7f4b06b2dafa15882fe9 to your computer and use it in GitHub Desktop.
Save levmichael3/7f4b06b2dafa15882fe9 to your computer and use it in GitHub Desktop.
sudo cat /var/chef/cache/chef-stacktrace.out
Generated at 2015-02-16 11:34:28 +0200
Chef::Exceptions::RecipeNotFound: could not find recipe default for cookbook ssh_authorized_keys
/opt/chef/embedded/apps/chef/lib/chef/cookbook_version.rb:234:in `load_recipe'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:169:in `load_recipe'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:138:in `block in include_recipe'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:137:in `each'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:137:in `include_recipe'
/opt/chef/embedded/apps/chef/lib/chef/dsl/include_recipe.rb:26:in `include_recipe'
/tmp/vagrant-chef/55fafff49fa4181e32ec494b7a50c07a/cookbooks/*******/recipes/default.rb:20:in `from_file'
/opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in `from_file'
/opt/chef/embedded/apps/chef/lib/chef/cookbook_version.rb:245:in `load_recipe'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:169:in `load_recipe'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:138:in `block in include_recipe'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:137:in `each'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:137:in `include_recipe'
/opt/chef/embedded/apps/chef/lib/chef/dsl/include_recipe.rb:26:in `include_recipe'
/tmp/vagrant-chef/55fafff49fa4181e32ec494b7a50c07a/cookbooks/*****/recipes/default.rb:15:in `from_file'
/opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in `from_file'
/opt/chef/embedded/apps/chef/lib/chef/cookbook_version.rb:245:in `load_recipe'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:169:in `load_recipe'
/opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:140:in `block in compile_recipes'
/opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:138:in `each'
/opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:138:in `compile_recipes'
/opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:75:in `compile'
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:92:in `load'
/opt/chef/embedded/apps/chef/lib/chef/policy_builder/expand_node_object.rb:73:in `setup_run_context'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:235:in `setup_run_context'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:397:in `run'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:261:in `block in fork_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in `fork'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in `fork_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:215:in `block in run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:38:in `with_server_connectivity'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:201:in `run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:245:in `block in interval_run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in `loop'
/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in `interval_run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:224:in `run_application'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in `run'
/opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>'
/usr/bin/chef-solo:40:in `load'
/usr/bin/chef-solo:40:in `<main>'
@levmichael3
Copy link
Author

cat *****/Berksfile
source "https://supermarket.chef.io"

cookbook 'yum-centos', '> 0.3.0'
cookbook 'ntp', '
> 1.7.0'
cookbook 'users', '> 1.7.0'
cookbook 'tar', '
> 0.6.0'
cookbook 'timezone-ii', '> 0.2.0'
cookbook 'selinux', '
> 0.8.0'
cookbook 'openssl', '= 1.1.0'
cookbook 'ssh-keys', '~> 1.0.0'

cookbook 'ssh_authorized_keys', '~> 0.1.0'

metadata

@levmichael3
Copy link
Author

cat *****/metadata.rb

name '_'
maintainer '
_
_'
maintainer_email '__@.._**'
license 'All rights reserved'
description 'Installs/Configures *****'
long_description IO.read(File.join(File.dirname(FILE), 'README.md'))
version '0.1.0'

depends 'selinux'
depends 'ntp'
depends 'yum-centos'
depends 'selinux'
depends 'timezone-ii'
depends 'users'
depends 'tar'
depends 'openssl'
depends 'ssh_authorized_keys'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment