Makes the .chef path more closely follow Chef #10

Merged
merged 1 commit into from Sep 20, 2013

Projects

None yet

2 participants

@mikerowehl
Contributor
  • 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).

@mikerowehl mikerowehl 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
494b8c0
@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