What happens if you type the wrong thing in 'knife config -i'


#1

So i was trying to create a new client.rb file to go in /etc/chef/client.rb since I MANUALLY DELETED IT OFF MY MAC trying to reinstall chef and I now have an SSL connection error connecting to chefadmin. (I can still ssh into the instance just fine but not via knife)

Anyway, I typed knife config -i but mistakenly pasted the wrong thing and hit enter. Now how can i change that to be the chef server url?


#2

@skiwheelr You can rerun knife configure to update chef_server_url or update manually from knife.rb wihch you find out at ~/.chef/knife.rb.