Closed atombaby closed 8 years ago
Currently the knife.rb uses structures like this:
client_key "#{ENV['HOME']}/.chef/self.pem"
When it runs under test-kitchen this environment variable is set to the value appropriate for the user running chef-client, not the integration user.
While the home environment ensures portability, likely better to just set this using the value of unix_home from the attributes.
unix_home
Currently the knife.rb uses structures like this:
When it runs under test-kitchen this environment variable is set to the value appropriate for the user running chef-client, not the integration user.
While the home environment ensures portability, likely better to just set this using the value of
unix_home
from the attributes.