- From: Bryan <
>
- To: "
" <
>
- Subject: [chef] Re: chef-solo error : Could not parse the provided JSON file
- Date: Thu, 26 Jul 2012 07:12:22 -0500
You are missing a comma after the server URL value.
Sent from my iPhone
On Jul 26, 2012, at 6:54 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.