I am working with chef-zero and all is well when I run the playground commands from GitHub - chef/chef-zero: Simple, easy-run, fast-start in-memory Chef server for testing and solo purposes
However when I try a simple vagrant run, vagrant throws
[2013-09-04T16:14:46+00:00] ERROR: Connection refused connecting to 127.0.0.1:8889 for /clients, retry 1/5
[2013-09-04T16:14:51+00:00] ERROR: Connection refused connecting to 127.0.0.1:8889 for /clients, retry 2/5
[2013-09-04T16:14:56+00:00] ERROR: Connection refused connecting to 127.0.0.1:8889 for /clients, retry 3/5
[2013-09-04T16:15:01+00:00] ERROR: Connection refused connecting to 127.0.0.1:8889 for /clients, retry 4/5
[2013-09-04T16:15:06+00:00] ERROR: Connection refused connecting to 127.0.0.1:8889 for /clients, retry 5/5
I have fiddled to the best of skills with the vagrant chef options from Chef Client - Provisioning | Vagrant | HashiCorp Developer
Here is the snipped from my Vagrant file:
If you have your own Chef Server, use the appropriate URL, which may be
HTTP instead of HTTPS depending on your configuration. Also change the
validation key to validation.pem.
config.vm.provision :chef_client do |chef|
chef.chef_server_url = "http://127.0.0.1:8889"
chef.validation_key_path = "path_to_any_pem_file.pem"
# these are "other configuration options" http://docs.vagrantup.com/v2/provisioning/chef_client.html
# none of them seem to really do anything?
chef.client_key_path = "mahpath"
chef.node_name = "plswork"
chef.validation_client_name = "whyunowork"
end
How do I get the vagrant/chef-client to stop trying to use /clients ?
vagrant --version
Vagrant version 1.2.7
chef-client --version
Chef: 11.4.0
chef-zero
Starting Chef Zero (v1.5.5)...