Skip to content

Instantly share code, notes, and snippets.

@shinyay
Created May 25, 2013 19:30
Show Gist options
  • Select an option

  • Save shinyay/5650461 to your computer and use it in GitHub Desktop.

Select an option

Save shinyay/5650461 to your computer and use it in GitHub Desktop.
I show the log which is I configure knife initially. It is simply default setup.
$ bundle exec knife configure
WARNING: No knife configuration file found
Where should I put the config file? [/Users/shinyay/.chef/knife.rb]
Please enter the chef server URL: [http://Shinya-MBA-2011.local:4000]
Please enter an existing username or clientname for the API: [shinyay]
Please enter the validation clientname: [chef-validator]
Please enter the location of the validation key: [/etc/chef/validation.pem]
Please enter the path to a chef repository (or leave blank):
*****
You must place your client key in:
/Users/shinyay/.chef/shinyay.pem
Before running commands with Knife!
*****
You must place your validation key in:
/etc/chef/validation.pem
Before generating instance data with Knife!
*****
Configuration file written to /Users/shinyay/.chef/knife.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment