cookbook 'xml', '~> 3.1.2'
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
-
Follow43
Installs xml
cookbook 'xml', '~> 3.1.2', :supermarket
knife supermarket install xml
knife supermarket download xml
XML Cookbook
Installs development package for libxml.
DEPRECATED
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
Requirements
Platforms
- Debian/Ubuntu
- RHEL/CentOS/Scientific/Amazon/Oracle
- Suse
- FreeBSD
Chef
- Chef 12.1+
Cookbooks
- build-essential
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 tofalse
)
Recipes
default
Installs the development packages for libxml2 and libxslt.
For installing the packages during compile time:
node.normal['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-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
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.
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 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
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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md 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 https://github.com/user/repo, and your repo must contain a TESTING.md 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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.1.2 failed this 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md 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 https://github.com/user/repo, and your repo must contain a TESTING.md 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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.1.2 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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 https://github.com/user/repo, and your repo must contain a TESTING.md 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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.1.2 failed this 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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number