chef-boneyard / vagrant-omnibus

A Vagrant plugin that ensures the desired version of Chef is installed via the platform-specific Omnibus packages.
Apache License 2.0
550 stars 63 forks source link

Does this support chef installation on a windows box #124

Open smalleni opened 9 years ago

smalleni commented 9 years ago

Does config.omnibus.chef_version = :latest install appropriate version of chef on a windows box?

adamb0mb commented 8 years ago

I spent a few minutes trying to make it work, and couldn't.

+1 on a feature request to make this work.

smalleni commented 8 years ago

@adamb0mb ...it worked for me on a windows box

adamb0mb commented 8 years ago

Are you using a public windows box? If so, which one? I tried with opentable/win-2008r2-standard-amd64-nocm

smalleni commented 8 years ago

Can you try ferventcoder/win7pro-x64-nocm-lite

adamb0mb commented 8 years ago

FYI... I'm trying, but I'm running into Vagrant/box issues that I'm trying to figure out. I'll post here when I get the ferventcoder/win7pro-x64-nocm-lite box running.

adamb0mb commented 8 years ago

OK. I can't get ferventcoder/win7pro-x64-nocm-lite to successfully start (Host: Mac El Capitan, Vagrant 1.7.4, VirtualBox 5). I'm going to have to go down a different path. If I make any progress, I'll let you know.

adamb0mb commented 8 years ago

OK. I figured out my issue. You need to explicitly set config.vm.guest = :windows. The way the ferventcoder/Win7 image is setup, you're required to set that parameter anyways... so vagrant-omnibus came along for the ride.

config.omnibus.chef_version = :latest
config.vm.guest = :windows

There is already an issue for the problem: #90.