Closed adrian closed 8 years ago
@adrian
First-off , sorry for the late reply.
May I ask why are you setting the chef_server_url
and validation_key_path
?
Those attributes are set by the plugin in the .zero-knife.rb
file that gets generated when you do vagrant up
.
Given this code,
The chef provisioning step will fail with,
The cause of the problem is in env_helpers.get_port(). The parsing code doesn't strip the trailing slash. In the example above it would try to connect to the port '4443/'.
Note: The trailing slash isn't a problem for the regular chef provisioner.