Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

virtualbox (9) Versions 1.0.0

Installs virtualbox

Policyfile
Berkshelf
Knife
cookbook 'virtualbox', '= 1.0.0', :supermarket
cookbook 'virtualbox', '= 1.0.0'
knife supermarket install virtualbox
knife supermarket download virtualbox
README
Dependencies
Quality -%

Description

Installs Virtualbox on OS X, Debian/Ubuntu or Windows.

Changes

v1.0

  • Use platform_family attribute to expand platform support.
  • Use Oracle's VirtualBox package repositories for Debian / RHEL, and the Opscode apt/yum cookbook resources accordingly.
  • Add Vbox::Helpers module in libraries/.
  • Add additional platforms supported
  • Add dependencies on required per-platform cookbooks (required for Chef 11's chef-solo).

v0.7.2:

  • Update OS X installer to use new pkg format - thanks josephholsten.

v0.7.0:

  • Add Windows support
  • No more "open source edition" - extension pack must now be downloaded separately from Oracle.
  • Optionally install PHP web porta.

v0.6.0:

  • Install via Sun's package archive in Ubuntu
  • Optionally install open-source edition from the Ubuntu repository
  • Tested in Ubuntu 11.04

v0.5.0:

  • initial version, tested on OSX only

Requirements

Requires Chef version 0.10.10+ and Ohai 0.6.10 for platform_family
attribute.

Platform:

  • Mac OS X
  • Ubuntu and Debian, 64 bit (amd64/x86_64)
  • RHEL/CentOS (tested on 6.3)
  • Windows

Other related platform family distributions may work.

Cookbooks

You'll also need the respective package manager cookbook for your platform:

  • dmg (for OS X installation)
  • apt (for Debian family)
  • yum (for RHEL family)
  • windows (for Windows installation)

These are dependencies to ensure that the recipes work when using Chef
Solo, and because it's the right thing to do.

Attributes

  • node['virtualbox']['url'] - URL to the VirtualBox download file. Used on Windows and OS X only to the ".exe" or ".dmg," respectively.
  • node['virtualbox']['version'] - Version of VirtualBox package to install. On Windows, this is automatically detected with the Vbox::Helpers module as the three-dotted version (e.g., 4.2.8). On Debian and RHEL platforms, this is the version suffix for the package to ensure that the correct version from the Virtualbox repository is installed (e.g., 4.2).

Deprecated/unused attributes:

  • node['virtualbox']['urlbase'] - This is automatically used/calculated in the Vbox::Helpers module and not used elsewhere.
  • node['virtualbox']['arch'] - This was used for architecture specific packages for Linux distributions, which is deprecated in favor of the package repository.
  • node['virtualbox']['open_source_edition'] - This was not used in any recipe / template in this cookbook and has been removed.

Recipes

default

This recipe will install VirtualBox for supported platforms. On
Windows and OS X, the file specified by the url attribute (see above)
will be downloaded and installed. On Linux (Debian and RHEL families
are supported), the appropriate OS package repository will be added
(apt or yum, respectively), along with Oracle's VirtualBox package
signing key, and the package installed from the repository. The
packages seem to handle all the kernel module recompilation, so this
recipe doesn't handle that.

Other recipes

The following recipes are also available, but have not yet been documented.

  • systemservice
  • user
  • webportal
  • webservice

Helper Library

The Vbox::Helpers module includes two methods.

  • vbox_sha256sum - Given an absolute URL to the VirtualBox download
    file (.exe or .dmg), the SHA256 checksum will be retrieved from the
    VirtualBox site. This assumes the default URLs from virtualbox.org's
    download site, and may be quite brittle if you're hosting your own
    packages.

  • vbox_version - Given an absolute URL to the download file, the
    version is calculated. This is used on Windows systems because the
    "package" name in Windows includes the version.

Usage

Include the virtualbox default recipe in a role run list. If you want
to install from a different source URL, provide it with the url
attribute and the version if the Vbox::Helpers library cannot determine
it, such as:

name "role_for_vbox"
default_attributes(
  "virtualbox" => {
    "url" => "http://url.to/your/vbox.pkg",
    "version" => "4.2"
  })
run_list("recipe[virtualbox]")

Contributions

The source for this cookbook is hosted on
GitHub. If you have any issues
with this cookbook, please follow up there.

License and Author

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

Dependent cookbooks

dmg >= 0.0.0
windows >= 0.0.0
apt >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

kitchen-jenkins Applicable Versions
sdlc_structure Applicable Versions
sdlc_structure 0.1.3
sdlc_structure 0.1.4
sdlc_structure 0.1.5
sdlc_structure 0.1.7
sdlc_structure 0.1.8
sdlc_structure 0.1.9
sdlc_structure 0.1.10
sdlc_structure 0.1.11
sdlc_structure 0.1.12
sdlc_structure 0.2.1
sdlc_structure 0.3.1
sdlc_structure 0.4.1
sdlc_structure 0.5.1
sdlc_structure 0.6.1
sdlc_structure 0.7.1
sdlc_structure 0.8.1
sdlc_structure 0.9.1
sdlc_structure 0.10.1
sdlc_structure 0.11.1
sdlc_structure 0.12.1
sdlc_structure 0.13.1
sdlc_structure 0.14.2
sdlc_structure 0.15.1
sdlc_structure 0.16.1
sdlc_structure 0.17.1
sdlc_structure 0.18.1
sdlc_structure 0.19.1
sdlc_structure 0.20.1
sdlc_structure 0.21.1
sdlc_structure 0.22.1
sdlc_structure 0.23.1
sdlc_structure 0.24.1
sdlc_structure 0.25.1
sdlc_structure 0.26.1
sdlc_structure 0.27.1
sdlc_structure 0.28.1
sdlc_structure 0.29.1
sdlc_structure 0.30.1
sdlc_structure 0.31.1
sdlc_structure 0.32.1
sdlc_structure 0.33.1
sdlc_structure 0.34.1
sdlc_structure 0.35.1
sdlc_structure 0.36.1
sdlc_structure 0.37.1
sdlc_structure 0.38.1
sdlc_structure 0.39.1
sdlc_structure 0.40.1
sdlc_structure 0.41.1
sdlc_structure 0.42.1
sdlc_structure 0.43.1
sdlc_structure 0.44.1
sdlc_structure 0.45.1
sdlc_structure 0.46.1
sdlc_structure 0.47.1
sdlc_structure 0.48.1
sdlc_structure 0.49.1
sdlc_structure 0.50.1
sdlc_structure 0.51.1
sdlc_structure 0.52.1
sdlc_structure 0.53.1
sdlc_structure 0.54.1
sdlc_structure 0.55.1
sdlc_structure 0.56.1
sdlc_structure 0.57.1
sdlc_structure 0.58.1
sdlc_structure 0.59.1
sdlc_structure 0.60.1
sdlc_structure 0.61.1
sdlc_structure 0.62.1
sdlc_structure 0.63.1
sdlc_structure 0.64.1
sdlc_structure 0.65.1
sdlc_structure 0.66.1
sdlc_structure 0.67.1
sdlc_structure 0.68.1
sdlc_structure 0.69.1
sdlc_structure 0.70.1
sdlc_structure 0.71.1
sdlc_structure 0.72.1
sdlc_structure 0.73.1
sdlc_structure 0.74.1
sdlc_structure 0.75.1
sdlc_structure 0.76.1
sdlc_structure 0.77.1
sdlc_structure 0.78.1
sdlc_structure 0.79.1
sdlc_structure 0.80.1
sdlc_structure 0.81.1
sdlc_structure 0.82.1
sdlc_structure 0.83.1
sdlc_structure 0.84.1
sdlc_structure 0.85.1
sdlc_structure 0.86.1
sdlc_structure 0.87.1
sdlc_structure 0.88.1
sdlc_structure 0.89.1
sdlc_structure 0.90.1
sdlc_structure 0.91.1
sdlc_structure 0.92.1
sdlc_structure 0.93.1
sdlc_structure 0.94.1
sdlc_structure 0.95.1
sdlc_structure 0.96.1
sdlc_structure 0.97.1
sdlc_structure 0.98.1
sdlc_structure 0.99.1
sdlc_structure 0.100.1
sdlc_structure 0.101.1
sdlc_structure 0.102.1
sdlc_structure 0.103.1
sdlc_structure 0.104.1
sdlc_structure 0.105.1
sdlc_structure 0.106.1
sdlc_structure 0.107.1
sdlc_structure 0.108.1
sdlc_structure 0.109.1
sdlc_structure 0.110.1
sdlc_structure 0.111.1
sdlc_structure 0.112.1
sdlc_structure 0.113.1
sdlc_structure 0.114.1
test-kitchen Applicable Versions
ut_workstation Applicable Versions

No quality metric results found