New Supermarket Announcements!

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 supermarket mailing list.

Select Badges

Select Supported Platforms

RSS

xml (19) Versions 2.0.0

Installs xml

Berkshelf
Librarian
Knife
cookbook 'xml', '~> 2.0.0'
cookbook 'xml', '~> 2.0.0'
knife cookbook site install xml
knife cookbook site download xml
README
Dependencies
Changelog
Foodcritic

XML Cookbook

Build Status Cookbook Version

Installs development package for libxml.

Requirements

Platforms

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

Chef

  • Chef 11+

Cookbooks

  • build-essential
  • chef-sugar

Attributes

  • 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)

Recipes

default

Installs the development packages for libxml2 and libxslt.

For installing the packages during compile time:

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

ruby

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 (cookbooks@chef.io)

Copyright: 2009-2015, 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

    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
limitations under the License.

Dependent cookbooks

chef-sugar >= 0.0.0
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.

v2.0.0 (2015-12-07)

  • The 1.3.1 release pinned the nokogiri gem version to 1.6.2.1 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 maintainers.md 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

v1.2.1

Improvement

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

v1.2.0

Improvement

  • COOK-3462 - Allow installing packages during compile time

v1.1.2

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

v1.1.0

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

v1.0.4

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

v1.0.2

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

2.0.0 passed Foodcritic.