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


yum-vmware-tools (5) Versions 3.1.1

Installs and configures VMWare yum repositories.

cookbook 'yum-vmware-tools', '~> 3.1.1', :supermarket
cookbook 'yum-vmware-tools', '~> 3.1.1'
knife supermarket install yum-vmware-tools
knife supermarket download yum-vmware-tools
Quality 17%

yum-vmware-tools Cookbook

Build Status

Installs vmware-tools for EL 5, from

For EL 6, installs open-vm-tools by default, from EPEL.

An undo recipe is included to remove, and cleanup, older vmware-tools installations.


  • RHEL platform family, version 5 or 6.
  • VMWare guest.


  • dmidecode - needs dmidecode to inspect BIOS, and determine VMWare virtual hardware.



These are the attributes you may need to override in a role.

  • yum['vmware']['version'] - VMWare Tool release string, used to compute baseurl.

    • Default, 'latest'
  • yum['vmware']['force_official'] - Force official VMWare packages to be used as the yum source on EL6.
    Opposed to using open-vm-tools sourced from EPEL.

    • Default, false, uses open-vm-tools from EPEL.

These are attributes you should probably leave alone.

  • yum['vmware']['enabled'] - Boolean flag, computed by presence of VMWare virtual hardware.

    • Default, true when dmi['system']['manufacturer'] is 'VMWare Inc.', false on other hardware.
  • yum['vmware']['baseurl'] - Base URL, to use in the vmware-tools.repo file.

    • Default, computed by yum['vmware']['version'] and node['platform_version'].
  • yum['vmware']['gpgkey'] - URL of VMWare packaging key

  • yum['vmware']['packages'] - List of packages to install

    • EL5 default, [ vmware-tools-esx, vmware-tools-esx-kmods ]
    • EL6 default, [ open-vm-tools ]
  • yum['vmware']['services'] - Service script(s) to enable, and start

    • EL5 default, [ vmware-tools-services ]
    • EL6 default, [ vmtoolsd ]



Example, force official repository on Enterprise Linux 6.x

  :yum => {
    :vmware => {
      :force_official => false
run_list: [ "recipe[yum-vmware-tools]" ]


Example, remove older vmware-tools installation.

run_list: [ "recipe[yum-vmware-tools::undo]" ]

License and Authors

Author:: Eric G. Wolfe endorse
Copyright:: 2010-2011

Author:: Tippr, Inc.
Copyright:: 2010

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

yum >= 0.0.0
yum-epel >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

yum-vmware-tools Changelog


  • Fixes #2 - attribute load ordering
  • Use shared_examples in rspec


  • Reload Ohai data after dmidecode is installed for force_official evaluation consistency.
  • Change yum.vmware.version from 5.1latest to latest


  • Force upstart on EL6 && stock vmware-tools


  • yumrepo refactored into yum-vmware-tools


  • Pin against yum < 3.0.0


  • Add test-kitchen skeleton
    • Validated recipes against yum v2.3.0
  • Fix minitest-spec tests for Chef 11
  • Deprecated annvix repo
    • Appears to be no longer maintained for EL6


  • vmware-tools
    • Bump version to ESX 5.1
    • re-instated to default recipe
    • add upstart support for vmware-tools 9.0 packages on EL 6
    • Change LWRP action to create (updates repo file), instead of add
  • deprecate/remove epel recipe
    • has been moved over to Opscodes yum::epel
  • disable minitest spec for Travis
    • This isn't working on TravisCI, will revisit unit tests later


  • add zeromq repo
    • contributed by @BryanWB
  • Bump chef gem in Gemfile
    • Locked chef gem at 10.X, 'cause minitest spec seems to be broke on chef 11.x.

TODO - Replace tests with chefspec


Fix mirrorlist attribute in Dell recipe.


Thanks to Paul Graydon (@twirrim) for adding Percona MySQL repositories.

Thanks to Bryan Berry (@bryanwb) for adding yet another PostgreSQL
repository. :)

Breaking changes (postgresql)

  • Recipe renamed, postgresql9 -> postgresql.
  • Added node['repo']['postgresql']['version'] to select version of Postgres via attribute, from repository.


Set name/base_url to localdomain in the case Ohai domain is
unavailable. Fixes chef-solo compilation error on Vagrant boxes.


Change corporate recipe to key off domain name.


Add VMWare Tools for ESX v5.0u1, along with a vmware-tools-upgrade

recipe. The yumrepo::vmware-tools recipe is backwards incompatible.
Unfortunately there is no way to upgrade vmware-tools rpm files without
yanking them out, and replacing them.

One must ensure the `vmware-tools-upgrade` recipe will run **before**

the vmware-tools recipe. Otherwise the 4.1 recipe will directly
conflict with the 5.0u1 version of the recipe.

I also added some attribute sanity tests for this new version, enjoy!

Collaborator Number Metric

3.1.1 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

3.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Foodcritic Metric

3.1.1 failed this metric

FC064: Ensure issues_url is set in metadata: yum-vmware-tools/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-vmware-tools/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-vmware-tools/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-vmware-tools/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

3.1.1 passed this metric

Testing File Metric

3.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

3.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must include a tag that matches this cookbook version number