I want to write a chef cookbook to setup Linux desktop environments.
I created a kitchen by knife solo init chef-repo, and created a cookbook hello and a node file localhost.json.
Then I run:
$ knife solo cook localhost
and got this error:
Running Chef on localhost...
Checking Chef version...
ERROR: Network Error: Connection refused - connect(2) for "localhost" port 22
Check your knife configuration and network settings
Should I run a ssh daemon even if I use chef host and client in localhost?
I'm using Linux Mint 16 in a VirtualBox environments. And this is my ~/.chef/knife.rb config file:
log_level :info
log_location STDOUT
node_name 'ironsand'
client_key '/home/ironsand/.chef/ironsand.pem'
validation_client_name 'chef-validator'
validation_key '/etc/chef-server/chef-validator.pem'
chef_server_url 'https://vm-mint:443'
syntax_check_cache_path '/home/ironsand/.chef/syntax_check_cache'