Closed josephholsten closed 10 years ago
chef.Connect() only allows chef configs in $HOME/.chef/knife.rb and /etc/chef/client.rb. There should be a way to manually pass a chef config.
chef.Connect()
$HOME/.chef/knife.rb
/etc/chef/client.rb
Check out chef.ConnectCredentials: https://github.com/marpaia/chef-golang/blob/master/api.go#L130
chef.ConnectCredentials
Does that do what you need?
Closing this due to lack of activity.
chef.Connect()
only allows chef configs in$HOME/.chef/knife.rb
and/etc/chef/client.rb
. There should be a way to manually pass a chef config.