[chef] Re: chef-solo error : Could not parse the provided JSON file


Chronological Thread 
  • From: Hector Castro < >
  • To:
  • Subject: [chef] Re: chef-solo error : Could not parse the provided JSON file
  • Date: Thu, 26 Jul 2012 08:14:23 -0400

Hi Vlad,

There doesn't appear to be a comma after the localhost attribute.

--
Hector

On Jul 26, 2012 8:09 AM, < "> > wrote:

Hi , I tried to follow
http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo
installation guide and  when ran chef-solo  command got  this error message :

# chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r
http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz


[2012-07-26T15:07:21+03:00] FATAL: Could not parse the provided JSON file
(/root/chef.json)!: 743: unexpected token at '{
"chef_server": {
    "server_url": "http://localhost:4000"
    "init_style": "init"
  },
  "run_list": [ "recipe[chef-server::rubygems-install]" ]
}
'

OS level is centOS 6.2  64 bits .
Chef version is 10.12.0 .


Regards ,

/Vlad .



Archive powered by MHonArc 2.6.16.

§