New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes the .chef path more closely follow Chef #10

Merged
merged 1 commit into from Sep 20, 2013

Conversation

Projects
None yet
2 participants
@mikerowehl
Contributor

mikerowehl commented Sep 19, 2013

  • monkey path Chef::Knife so that we can get back the config path
  • use the base dir of the loaded config as the base for knife-block

We use knife-block in our environment to automate some testing using different orgs for the different stages. The way the config is loaded currently, it only finds a .chef dir by walking the directory tree up from the current working dir. For something like Bamboo, which does its runs outside of the home for the user, that means we need to reconstruct the config every time. So instead this patches Chef::Knife (kinda ugly) so that we can use the same .chef directory as knife will use (definitely cool).

Makes the .chef path more closely follow Chef
- monkey path Chef::Knife so that we can get back the config path
- use the base dir of the loaded config as the base for knife-block

proffalken added a commit that referenced this pull request Sep 20, 2013

Merge pull request #10 from mikerowehl/master
Accepted.  I'll try to get this auto-building and publishing soon

@proffalken proffalken merged commit cc8de23 into knife-block:master Sep 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment