marpaia / chef-golang

Go library to interact with the Chef server API
Other
77 stars 31 forks source link

allow for configurable knifeFiles #7

Closed josephholsten closed 10 years ago

josephholsten commented 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.

marpaia commented 10 years ago

Check out chef.ConnectCredentials: https://github.com/marpaia/chef-golang/blob/master/api.go#L130

Does that do what you need?

marpaia commented 10 years ago

Closing this due to lack of activity.