Open boldandbusted opened 9 years ago
Oh, hrm, might this be a conflict with puppet's deps? Just a guess.
I would bet it has to do with https://github.com/jedi4ever/veewee/blob/master/templates/Debian-7.7.0-amd64-netboot/ruby.sh :
ohai requires Ruby version >= 2.0.0.
and as much I can find Debian 7 comes with ruby 1.8
and 1.9
you would need to:
You can install Ruby 2.0 via my script at stackoverflow.com/questions/16222738/-/29584352#29584352
I had the same problem, but it solved without installing ruby2. I don't know exactly how, but what I did was:
prepared the omnibus Plugin for vagrant:
vagrant plugin install vagrant-omnibus --verbose
I installed the omnibus plugin for chef in my vagrant file:
config.omnibus.chef_version = :latest
Now everything runs through fine, maybe it helps
@rubo77 make sure to open a pull request with a fix ... if you did not do it yet ;)
@mpapis you can do it, I don't use veewee, just came by here with a similar problem in another project and shared my result with you
have fun!
thanks, I'm only janitor here, anyone interested in playing with it and applying the fix in pull request
I forked your repo to add Debian 7.8 support. I merely changed references in the config replacing 7.7 with 7.8. Everything seems to go swimmingly until...
veewee vbox build 'debian-7-dot-8' --workdir=/dev/shm/vagrant --force
[..giant snip..] Executing command: echo 'vagrant'|sudo -S bash './chef.sh' Fetching: mixlib-config-2.1.0.gem (100%) Fetching: mixlib-cli-1.5.0.gem (100%) Fetching: mixlib-log-1.6.0.gem (100%) Fetching: mixlib-authentication-1.3.0.gem (100%) Fetching: mixlib-shellout-2.0.1.gem (100%) Fetching: mime-types-1.25.1.gem (100%) Fetching: systemu-2.6.4.gem (100%) Fetching: ffi-1.9.6.gem (100%) Building native extensions. This could take a while... Fetching: libyajl2-1.2.0.gem (100%) Building native extensions. This could take a while... Fetching: ffi-yajl-1.3.1.gem (100%) Building native extensions. This could take a while... Fetching: net-dhcp-1.3.2.gem (100%) Fetching: ipaddress-0.8.0.gem (100%) Fetching: wmi-lite-1.0.0.gem (100%) Fetching: rake-10.4.2.gem (100%) Fetching: ohai-8.0.1.gem (100%) ERROR: Error installing chef: ohai requires Ruby version >= 2.0.0. ERROR: exit code 1
If you need more info, please ask! :)