Skip to content
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

Chef 11.14.2 breaks due to ruby-wmi dependency #99

Closed
Scythril opened this issue Aug 1, 2014 · 8 comments
Closed

Chef 11.14.2 breaks due to ruby-wmi dependency #99

Scythril opened this issue Aug 1, 2014 · 8 comments

Comments

@Scythril
Copy link

Scythril commented Aug 1, 2014

Just a heads up, if you start using Chef 11.14.2 with this cookbook (as I am while using the latest Chef Omnibus installer via vagrant), it breaks on the ruby-wmi dependencies.

One of the notes on Chef 11.14.2 here is that the ruby-wmi gem was replaced with the wmi-lite gem. Is that something you guys plan to also do in the windows cookbook?

@ghost
Copy link

ghost commented Aug 1, 2014

I'm hitting this right now as well. If you're deploying with knife, it looks like you're able to control the version of chef-client with a --bootstrap-version flag.

@justinrstout
Copy link

I too am hitting this when bootstrapping with WinRM. My workaround was to use the --bootstrap-version option to specify the previous stable version of chef client (11.12.8).

@Scythril
Copy link
Author

Scythril commented Aug 1, 2014

Similar thing for Vagrant, use

config.omnibus.chef_version = '11.12.8'

@btm
Copy link
Contributor

btm commented Aug 4, 2014

I'm currently testing #100 as a potential fix.

@btm
Copy link
Contributor

btm commented Aug 5, 2014

#101 was merged and released, The windows cookbook version 1.34.0 fixes this bug.

@btm btm closed this as completed Aug 5, 2014
@btm
Copy link
Contributor

btm commented Aug 13, 2014

This is being fixed a different way (sans any gem dependencies) in #108

btm added a commit that referenced this issue Aug 13, 2014
@jeremiahsnapp
Copy link

@btm So is windows cookbook 1.34.0 actually broken right now or are you just refactoring things?

@btm
Copy link
Contributor

btm commented Aug 13, 2014

1.34.0 worked fine if you were using 11.14.2 omnibus which included wmi-lite or had internet access to install the wmi-lite gem. 1.34.2 has no external wmi gem dependencies.

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

No branches or pull requests

4 participants