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


Chronological Thread 
  • From: Vladimir Berezovski < >
  • To:
  • Cc:
  • Subject: [chef] Re: chef-solo error : Could not parse the provided JSON file
  • Date: Thu, 26 Jul 2012 16:10:31 +0300

Thanks ,  this   solved  the problem .
 
Will continue with Chef setup .
 
/Vlad
 
 

On Thu, Jul 26, 2012 at 3:22 PM, Sascha Bates < " target="_blank"> > wrote:
I use this site all the time when working with chef-solo:

http://jsonlint.com/


Sascha Bates
| " target="_blank"> | 612 850 0444 | | |



On 7/26/12 6:54 AM, " target="_blank"> 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.

§