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
Fixes knife-block for chef 12 #26
Conversation
Hi all, I've just updated the travis.yml file so that it will test against ruby 2.x (the main issue that seemed to be causing it to fail previously). It's now failing with a different error but it's been so long since I touched ruby that I've forgotten where to start. :( The good news is that @solarce now has access to rubygems.org for this so once it's been fixed you should be able to get it merged and published. Thanks again for all your interest, Matt |
Argh, somehow I wasn't watching the repo, I'm gonna do some work on getting builds passing on travis this weekend and getting issues/PRs fixed up |
I modified the tests to run under chef 12 and chefdk 0.4.0 but this still didn't pass tests with the following error.
I'm not completely sure if the test or this needs fixing. I'm new to ruby. I will look into this more when I have time. |
I pulled this and made local package with |
I pulled this and installed it under chefdk 0.4.0 on OSX. It runs, but knife block list shows no configs, even though I have several that worked just fine under older chefdk versions. Knife block use is unable to switch to them either. |
It looks like |
I corrected the test to run properly, everything should be in place now. |
+1 for this |
1 similar comment
+1 for this |
@paulpeterson now that I've updated the Travis config to include a chefdk + 2.1 build, can you rebase your PR and update it? Your changes passed for me (except on 2.2, which is a known issue that's fixed in another PR i'll merge soon) |
Reading through the master branch code and Chef 12 code it seems we should consider the following update to master instead. The tests pass as is on 2.1 certainly.
|
+1 on @justin-kirk-active's suggestion, looks to be working in chefdk 0.4.0 with chef client 12.0.3 on OSX. |
I grabbed your changed and rebased them on top of some CI improvements I made, so this got merged with #37. |
Using chef_config_dir instead of locate_config_file