berkshelf / ridley

A reliable Chef API client with a clean syntax
Other
231 stars 85 forks source link

not connect api chef #293

Closed di-stars closed 9 years ago

di-stars commented 9 years ago

!/usr/bin/env ruby

require 'ridley'

ridley = Ridley.new( server_url: "https://god.kitchen/organizations/kitchen", client_name: "di", client_key: "/Users/di/.chef/di.pem" )

W, [2014-12-16T17:42:01.518048 #29616] WARN -- : Terminating task: type=:finalizer, meta={:method_name=>:shutdown}, status=:receiving Celluloid::TaskFiber backtrace unavailable. Please try Celluloid.task_class = Celluloid::TaskThread if you need backtraces here. W, [2014-12-16T17:42:01.520775 #29616] WARN -- : Terminating task: type=:finalizer, meta={:method_name=>:shutdown}, status=:receiving Celluloid::TaskFiber backtrace unavailable. Please try Celluloid.task_class = Celluloid::TaskThread if you need backtraces here. W, [2014-12-16T17:42:01.521331 #29616] WARN -- : Terminating task: type=:finalizer, meta={:method_name=>:shutdown}, status=:receiving Celluloid::TaskFiber backtrace unavailable. Please try Celluloid.task_class = Celluloid::TaskThread if you need backtraces here.

di-stars commented 9 years ago

fix

Ridley::Logging.logger.level = Logger.const_get 'ERROR'