Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Created December 10, 2013 19:16
Show Gist options
  • Save juliandunn/7896432 to your computer and use it in GitHub Desktop.
Save juliandunn/7896432 to your computer and use it in GitHub Desktop.
borkbork ~/devel/gh/juliandunn/chef-client (fix-kitchen-yml *)$ kitchen test config-freebsd-92
-----> Starting Kitchen (v1.1.0)
-----> Cleaning up any prior instances of <config-freebsd-92>
-----> Destroying <config-freebsd-92>...
Finished destroying <config-freebsd-92> (0m0.00s).
-----> Testing <config-freebsd-92>
-----> Creating <config-freebsd-92>...
Bringing machine 'default' up with 'virtualbox' provider...
[default] Box 'opscode-freebsd-9.2' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading box from URL: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_freebsd-9.2_chef-provisionerless.box
Extracting box...k/s, Estimated time remaining: 0:00:01))
Successfully added box 'opscode-freebsd-9.2' with provider 'virtualbox'!
[default] Importing base box 'opscode-freebsd-9.2'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[Berkshelf] Skipping Berkshelf with --no-provision
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Running 'pre-boot' VM customizations...
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] The guest additions on this VM do not match the installed version of
VirtualBox! In most cases this is fine, but in rare cases it can
cause things such as shared folders to not work properly. If you see
shared folder errors, please update the guest additions within the
virtual machine and reload your VM.
Guest Additions Version: 4.2.16
VirtualBox Version: 4.3
[default] Setting hostname...
Vagrant instance <config-freebsd-92> created.
Finished creating <config-freebsd-92> (7m3.15s).
-----> Converging <config-freebsd-92>...
Preparing files for transfer
Resolving cookbook dependencies with Berkshelf...
Removing non-cookbook files before transfer
-----> Installing Chef Omnibus (true)
downloading https://www.opscode.com/chef/install.sh
to file /tmp/install.sh
trying curl...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 6789 100 6789 0 0 15874 0 --:--:-- --:--:-- --:--:-- 15899
trying fetch...
Downloading Chef for freebsd...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 27.1M 100 27.1M 0 0 818k 0 0:00:33 0:00:33 --:--:-- 1862k
Installing Chef
/tmp/install.sh: bash: not found
Transfering files to <config-freebsd-92>
sudo: chef-solo: command not found
>>>>>> Converge failed on instance <config-freebsd-92>.
>>>>>> Please see .kitchen/logs/config-freebsd-92.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sudo -E chef-solo --config /tmp/kitchen/solo.rb --json-attributes /tmp/kitchen/dna.json --log_level info]
>>>>>> ----------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment