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

The xml cookbook has been deprecated

Author provided reason for deprecation:

The xml cookbook has been deprecated and is no longer being maintained by its authors. Use of the xml cookbook is no longer recommended.


xml (23) Versions 3.1.2

Installs xml

cookbook 'xml', '~> 3.1.2', :supermarket
cookbook 'xml', '~> 3.1.2'
knife supermarket install xml
knife supermarket download xml
Quality 17%

XML Cookbook

Build Status Cookbook Version

Installs development package for libxml.


nokogiri is now included in Chef so this cookbook has been deprecated. If a more useful purpose can be come up with for the namespace we will gladly revive it



  • Debian/Ubuntu
  • RHEL/CentOS/Scientific/Amazon/Oracle
  • Suse
  • FreeBSD


  • Chef 12.1+


  • build-essential


  • node['xml']['packages'] - Array of package names that should be installed
  • node['xml']['nokogiri']['use_system_libraries'] - Whether to use system libraries for nokogiri (defaults to false)



Installs the development packages for libxml2 and libxslt.

For installing the packages during compile time:

node.normal['xml']['compiletime'] = true
include_recipe 'xml::default'


Installs the nokogiri gem into Chef's Ruby environment so it can be used in recipes. If nokogiri is being installed using the system's libxml package your distro must include version 2.6.21 or later. Due to this Debian 7 or earlier / Ubuntu 12.04 or earlier will not work with the system library attribute enabled.

License & Authors

Author: Cookbook Engineering Team (

Copyright: 2009-2016, Chef Software, Inc.

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

build-essential >= 0.0.0

Contingent cookbooks

app Applicable Versions
bootstrap Applicable Versions
cerner_splunk Applicable Versions
chef Applicable Versions
chef-manageiq Applicable Versions
chef-pry Applicable Versions
chef-server Applicable Versions
chef_handler_sns Applicable Versions
cloudformation Applicable Versions
diaspora Applicable Versions
fieri Applicable Versions
firewalldconfig Applicable Versions
gitlab Applicable Versions
gitlab-shell Applicable Versions
gitlabhq Applicable Versions
magentostack Applicable Versions
marketplace_ami Applicable Versions
microsoft_azure Applicable Versions
openstack Applicable Versions
php Applicable Versions
rackspace_lbaas Applicable Versions
rackspacecloud Applicable Versions
route53 Applicable Versions
xmledit Applicable Versions

xml Cookbook CHANGELOG

This file is used to list changes made in each version of the xml cookbook.

3.1.2 (2017-05-30)

  • Fix Amazon linux support on Chef 13

3.1.1 (2017-01-16)

  • Use the right priority to set compile_time attribute

3.1.0 (2016-12-07)

  • Move the build essential compile time setting to attributes file
  • Remove the Chef 11 compatibility check in chef_gem
  • Remove support for Arch since it's not a supported Chef platform
  • If no packages are defined log a warning instead of failing hard
  • Add specs for all supported platforms and windows

3.0.0 (2016-09-07)

  • Make sure to install zlib-devel on RHEL
  • Testing updates
  • Require Chef 12.1 and use multipackage to speed up installs
  • Don't use chef-sugar since it wasn't necessary

v2.0.0 (2015-12-07)

  • The 1.3.1 release pinned the nokogiri gem version to to avoid compilation failure that occured at some point in time. The cookbook also prevented the user from setting the version attribute to a modern nokogiri release. Nokogiri no longer fails to install so there is no longer a reason to pin or gate the versions. This release removes the version attribute and instead installs the latest version, but still allows the user to set the version attribute to pin to a specific version.

v1.3.1 (2015-10-12)

  • Fixed compile errors on Chef 11
  • Added an empty array of packages for unknown systems to prevent failures on Windows and other operating systems

v1.3.0 (2015-10-06)

  • Added zlib1g-dev on Ubuntu / Debian to fix compiles
  • Add support for OS X
  • Add source_url and issues_url to metadata.rb for Supermarket
  • Updated readme to reflect that use_system_libraries actually defaults to false
  • Use compile_time attribute with chef_gem to avoid deprecation warnings
  • Update Chefspec tests to 4.X format
  • Add additional platforms to the Kitchen CI config
  • Use the standard Rubocop config and resolve all warnings
  • Add Ruby 2.1/2.2 to Travis and remove Ruby 1.9.3
  • Update Berksfile to 3.X format
  • Update contributing and testing docs
  • Update and expand testing dependencies in the Gemfile
  • Add and maintainers.toml files
  • Add cookbook version badge to the readme
  • Add Chef and platform requirements to the readme
  • Add Rakfile for simplified testing
  • Remove yum and build-essential from the Berksfile since these didn't need to be there
  • Update .gitignore and add chefignore to prevent extra files from being uploaded to the Chef server

v1.2.13 (2014-02-18)

  • Reverting compile_time work

v1.2.12 (2014-02-18)

  • Fixing last patch to play nicely with Chef Sugar

v1.2.11 (2014-02-18)

  • Fixing chef_gem for Chef below 12.1.0

v1.2.10 (2014-02-17)

  • Being explicit about usage of the chef_gem's compile_time property.
  • Eliminating future deprecation warnings in Chef 12.1.0.

v1.2.9 (2014-12-10)

  • Re-release with stove 3.2.2 to get a metadata.rb

v1.2.8 (2014-12-09)

  • [#11] Fix warning message from build-essential
  • [#13] pin nokogiri to a working version

v1.2.6 (2014-06-17)

  • [COOK-4468] Only set ENV variable when needed

v1.2.4 (2014-03-27)

  • [COOK-4474] - Bump apt and yum versions in Berksfile, Lock to build-essentials 1.4
  • [COOK-4468] - Set NOKOGIRI_USE_SYSTEM_LIBRARIES env variable

v1.2.2 (2014-02-27)

[COOK-4382] - Fix xml cookbook spec test [COOK-4304] - Set proper packages for SUSE 11



  • COOK-4304 - Now sets proper packages for SUSE 11



  • COOK-3462 - Allow installing packages during compile time


  • [COOK-2059] - missing dependency on build-essential


  • [COOK-1826] - support nokogiri chef_gem
  • [COOK-1902] - add support for archlinux


  • [COOK-1232] - add xslt to xml cookbook


  • [COOK-953] - Add FreeBSD support
  • [COOK-775] - Add Amazon Linux support

Collaborator Number Metric

3.1.2 failed this metric

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

Contributing File Metric

3.1.2 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.2 failed this metric

FC122: Use the build_essential resource instead of the recipe: xml/recipes/ruby.rb:28
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

3.1.2 passed this metric

Testing File Metric

3.1.2 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.2 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