[chef] Error upgrading to Chef Server 11.1.6


Chronological Thread 
  • From: JOHN HASTY < >
  • To:
  • Subject: [chef] Error upgrading to Chef Server 11.1.6
  • Date: Wed, 22 Oct 2014 10:14:58 -0500

JSON::GeneratorError
--------------------
YAJL internal error: attempted use of non-string object as key


Cookbook Trace:
---------------
  /opt/chef-server/embedded/cookbooks/chef-server/recipes/default.rb:90:in `block in from_file'
  /opt/chef-server/embedded/cookbooks/chef-server/recipes/default.rb:86:in `from_file'


Relevant File Content:
----------------------
/opt/chef-server/embedded/cookbooks/chef-server/recipes/default.rb:

 83:  
 84:  include_recipe "chef-server::chef-pedant"
 85:  
 86:  file "/etc/chef-server/chef-server-running.json" do
 87:    owner node['chef_server']['user']['username']
 88:    group "root"
 89:    mode "0600"
 90>>   content Chef::JSONCompat.to_json_pretty({ "chef_server" => node['chef_server'].to_hash, "run_list" => node.run_list })
 91:  end
 92:  



JOHN HASTY
Software as a Service - DevOps
Software Group


Phone: 1-512-804-9968
E-mail:
  " target="_blank">
IBM

2407 S Congress Ave Ste E-350
Austin, TX 78704
United States




Archive powered by MHonArc 2.6.16.

§