Skip to content

Instantly share code, notes, and snippets.

@esparkman
Last active August 29, 2015 14:00
Show Gist options
  • Save esparkman/11025987 to your computer and use it in GitHub Desktop.
Save esparkman/11025987 to your computer and use it in GitHub Desktop.
Running Chef on 107.170.236.21...
Checking Chef version...
Installing Berkshelf cookbooks to 'cookbooks'...
DEPRECATED: Your Berksfile contains a site location pointing to the Opscode Community Site (site :opscode). Site locations have been replaced by the source location. Change this to: 'source "http://api.berkshelf.com"' to remove this warning. For more information visit https://github.com/berkshelf/berkshelf/wiki/deprecated-locations
Resolving cookbook dependencies...
Using apt (2.3.8)
Using chef-solo-search (0.5.1) from https://github.com/edelight/chef-solo-search (at master)
Using build-essential (2.0.1) from https://github.com/opscode-cookbooks/build-essential (at master)
Using chef_gem (0.1.0)
Using java (1.22.0)
Using look_and_feel-tlq (0.0.1) from [email protected]:TalkingQuickly/look_and_feel-tlq.git (at master)
Using memcached-tlq (0.0.2) from [email protected]:TalkingQuickly/memcached-tlq.git (at master)
Using mongo-tlq (0.0.3) from [email protected]:TalkingQuickly/mongo-tlq.git (at master)
Using monit-tlq (0.3.5) from [email protected]:TalkingQuickly/monit-tlq.git (at master)
Using mysql (5.1.9) from https://github.com/opscode-cookbooks/mysql (at master)
Using monit_configs-tlq (0.0.5) from [email protected]:TalkingQuickly/monit_configs-tlq.git (at master)
Using nginx-tlq (0.0.4) from [email protected]:TalkingQuickly/nginx-tlq.git (at master)
Using openssl (1.1.0)
Using postgresql (3.3.4) from [email protected]:opscode-cookbooks/postgresql.git (at master)
Using redis-tlq (0.0.6) from [email protected]:TalkingQuickly/redis-tlq.git (at master)
Using rails_gem_dependencies-tlq (0.0.1) from [email protected]:TalkingQuickly/rails_gem_dependencies-tlq.git (at master)
Using rvm (0.9.2) from git://github.com/fnichol/chef-rvm.git (at master)
Using sudo (2.5.3) from https://github.com/opscode-cookbooks/sudo.git (at master)
Using tlq-basic-security (0.0.1) from [email protected]:TalkingQuickly/basic_security-tlq.git (at master)
Using users (1.7.1) from https://github.com/opscode-cookbooks/users.git (at master)
Vendoring apt (2.3.8) to /Users/evansparkman/Development/rails-server-template/cookbooks/apt
Vendoring build-essential (2.0.1) to /Users/evansparkman/Development/rails-server-template/cookbooks/build-essential
Vendoring chef-solo-search (0.5.1) to /Users/evansparkman/Development/rails-server-template/cookbooks/chef-solo-search
Vendoring chef_gem (0.1.0) to /Users/evansparkman/Development/rails-server-template/cookbooks/chef_gem
Vendoring java (1.22.0) to /Users/evansparkman/Development/rails-server-template/cookbooks/java
Vendoring look_and_feel-tlq (0.0.1) to /Users/evansparkman/Development/rails-server-template/cookbooks/look_and_feel-tlq
Vendoring memcached-tlq (0.0.2) to /Users/evansparkman/Development/rails-server-template/cookbooks/memcached-tlq
Vendoring mongo-tlq (0.0.3) to /Users/evansparkman/Development/rails-server-template/cookbooks/mongo-tlq
Vendoring monit-tlq (0.3.5) to /Users/evansparkman/Development/rails-server-template/cookbooks/monit-tlq
Vendoring monit_configs-tlq (0.0.5) to /Users/evansparkman/Development/rails-server-template/cookbooks/monit_configs-tlq
Vendoring mysql (5.1.9) to /Users/evansparkman/Development/rails-server-template/cookbooks/mysql
Vendoring nginx-tlq (0.0.4) to /Users/evansparkman/Development/rails-server-template/cookbooks/nginx-tlq
Vendoring openssl (1.1.0) to /Users/evansparkman/Development/rails-server-template/cookbooks/openssl
Vendoring postgresql (3.3.4) to /Users/evansparkman/Development/rails-server-template/cookbooks/postgresql
Vendoring rails_gem_dependencies-tlq (0.0.1) to /Users/evansparkman/Development/rails-server-template/cookbooks/rails_gem_dependencies-tlq
Vendoring redis-tlq (0.0.6) to /Users/evansparkman/Development/rails-server-template/cookbooks/redis-tlq
Vendoring rvm (0.9.2) to /Users/evansparkman/Development/rails-server-template/cookbooks/rvm
Vendoring sudo (2.5.3) to /Users/evansparkman/Development/rails-server-template/cookbooks/sudo
Vendoring tlq-basic-security (0.0.1) to /Users/evansparkman/Development/rails-server-template/cookbooks/tlq-basic-security
Vendoring users (1.7.1) to /Users/evansparkman/Development/rails-server-template/cookbooks/users
Uploading the kitchen...
Generating solo config...
Running Chef...
[2014-04-18T01:23:43-04:00] WARN:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
SSL validation of HTTPS requests is disabled. HTTPS connections are still
encrypted, but chef is not able to detect forged replies or man in the middle
attacks.
To fix this issue add an entry like this to your configuration file:
```
# Verify all HTTPS connections (recommended)
ssl_verify_mode :verify_peer
# OR, Verify only connections to chef-server
verify_api_cert true
```
To check your SSL configuration, or troubleshoot errors, you can use the
`knife ssl check` command like so:
```
knife ssl check -c /root/chef-solo/solo.rb
```
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Starting Chef Client, version 11.12.2
Compiling Cookbooks...
Running handlers:
[2014-04-18T01:23:45-04:00] ERROR: Running exception handlers
Running handlers complete
[2014-04-18T01:23:45-04:00] ERROR: Exception handlers complete
[2014-04-18T01:23:45-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 2.246081558 seconds
[2014-04-18T01:23:45-04:00] ERROR: Cookbook basic-security-tlq not found. If you're loading basic-security-tlq from another cookbook, make sure you configure the dependency in your metadata
[2014-04-18T01:23:45-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
ERROR: RuntimeError: chef-solo failed. See output above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment