chef-solo vagrant file listed in compute admin manual doesn't work with vagrant --pre

Bug #923304 reported by Alan Horn on 2012-01-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tom Fifield

Bug Description

Following instructions in

Section 6. "Get the chef-solo Vagrant file"

The file from URL :
curl -o Vagrantfile

Gives the following error on running 'vagrant up' :

You are using a feature that has been removed in this version. Explanation:

`config.vm.customize` now takes an array of arguments to send to
`VBoxManage` instead of having a block which gets a virtual machine
object. Example of the new usage:

    config.vm.customize ["modifyvm", :id, "--memory", "1024"]

The above will run `VBoxManage modifyvm 1234 --memory 1024` where
"1234" is the ID of your current virtual machine. Anything you could
do before is certainly still possible with `VBoxManage` as well.

Note that this error message will not appear in the next version of Vagrant.


gem list -d on my system gives :

*** LOCAL GEMS ***

abstract (1.0.0)
    Author: makoto kuwata
    Installed at: /opt/local/lib/ruby/gems/1.8

    a library which enable you to define abstract method in Ruby

archive-tar-minitar (0.5.2)
    Author: Austin Ziegler, Mauricio Ferna'ndez
    Installed at: /opt/local/lib/ruby/gems/1.8

    Provides POSIX tarchive management from Ruby programs.

childprocess (0.3.0)
    Author: Jari Bakken
    Installed at: /opt/local/lib/ruby/gems/1.8

    This gem aims at being a simple and reliable solution for
    controlling external programs running in the background on any Ruby
    / OS combination.

erubis (2.7.0, 2.6.6)
    Author: makoto kuwata
    Installed at (2.7.0): /Users/ahorn/.gem/ruby/1.8
                 (2.6.6): /opt/local/lib/ruby/gems/1.8

    a fast and extensible eRuby implementation which supports

ffi (1.0.11)
    Author: Wayne Meissner
    Installed at: /opt/local/lib/ruby/gems/1.8

    Ruby-FFI is a ruby extension for programmatically loading dynamic
    libraries, binding functions within them, and calling those
    functions from Ruby code

i18n (0.6.0, 0.5.0)
    Authors: Sven Fuchs, Joshua Harvey, Matt Aimonetti, Stephan Soller,
    Saimon Moore
    Installed at (0.6.0): /opt/local/lib/ruby/gems/1.8
                 (0.5.0): /opt/local/lib/ruby/gems/1.8

    New wave Internationalization support for Ruby

json (1.6.5, 1.6.4, 1.5.4, 1.4.6)
    Author: Florian Frank
    Installed at (1.6.5): /opt/local/lib/ruby/gems/1.8
                 (1.6.4): /opt/local/lib/ruby/gems/1.8
                 (1.5.4): /opt/local/lib/ruby/gems/1.8
                 (1.4.6): /opt/local/lib/ruby/gems/1.8

    JSON Implementation for Ruby

log4r (1.1.10)
    Author: Colby Gutierrez-Kraybill
    Installed at: /opt/local/lib/ruby/gems/1.8

    Log4r, logging framework for ruby

mario (0.0.6)
    Author: John Bender
    Installed at: /opt/local/lib/ruby/gems/1.8

    Mario is a collection of utilities for dealing with platform
    specific issues

net-scp (1.0.4)
    Authors: Jamis Buck, Delano Mandelbaum
    Installed at: /opt/local/lib/ruby/gems/1.8

    A pure Ruby implementation of the SCP client protocol

net-ssh (2.3.0, 2.2.2, 2.1.4, 2.0.24)
    Authors: Jamis Buck, Delano Mandelbaum
    Installed at (2.3.0): /opt/local/lib/ruby/gems/1.8
                 (2.2.2): /opt/local/lib/ruby/gems/1.8
                 (2.1.4): /Users/ahorn/.gem/ruby/1.8
                 (2.0.24): /opt/local/lib/ruby/gems/1.8

    Net::SSH: a pure-Ruby implementation of the SSH2 client protocol.

rubygems-update (1.8.15)
    Authors: Jim Weirich, Chad Fowler, Eric Hodel
    Installed at: /opt/local/lib/ruby/gems/1.8

    RubyGems is a package management framework for Ruby

thor (0.14.6)
    Authors: Yehuda Katz, José Valim
    Installed at: /opt/local/lib/ruby/gems/1.8

    A scripting framework that replaces rake, sake and rubigen

vagrant (0.9.4, 0.8.10, 0.7.0.beta2)
    Authors: Mitchell Hashimoto, John Bender
    Installed at (0.9.4): /opt/local/lib/ruby/gems/1.8
                 (0.8.10): /opt/local/lib/ruby/gems/1.8
                 (0.7.0.beta2): /opt/local/lib/ruby/gems/1.8

    Build and distribute virtualized development environments.

virtualbox (0.9.2, 0.8.6)
    Author: Mitchell Hashimoto
    Installed at (0.9.2): /opt/local/lib/ruby/gems/1.8
                 (0.8.6): /opt/local/lib/ruby/gems/1.8

    Create and modify virtual machines in VirtualBox using pure ruby

Alan Horn (deorth) on 2012-01-29
summary: - chef-solo vagrant file listed in computer admin manual doesn't work with
+ chef-solo vagrant file listed in compute admin manual doesn't work with
vagrant --pre
Anne Gentle (annegentle) on 2012-02-03
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Tom Fifield (fifieldt) wrote :

This article was originally written by anso labs @ and can no longer be found on their site.

Further, it doesn't exist in the Essex manuals.

Tom Fifield (fifieldt) wrote :
Tom Fifield (fifieldt) on 2012-07-10
Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Confirmed → In Progress
Anne Gentle (annegentle) on 2012-07-12
Changed in openstack-manuals:
status: In Progress → Fix Released

Submitter: Jenkins
Branch: stable/diablo

commit f5834d5551dc4958e6097c3354e282b48bae4389
Author: Tom Fifield <email address hidden>
Date: Wed Jul 11 09:27:07 2012 +1000

    Fix Diablo Automation Chef link

    fixes bug 923304

    The chef cookbook location was no longer maintained and had moved.
    This patch points to the new location, and removes a reference to
    ubuntu maverick, which is no longer supported.

    Change-Id: Icf8daa5ebc5d3f3587185a53340d6940850eb0f1

tags: added: in-stable-diablo
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers