Downgrade mysql cookbook for now
It doesn't play well with our current dev server setup
This commit is contained in:
@@ -1,14 +1,41 @@
|
||||
# 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.
|
||||
|
||||
- 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
|
||||
@@ -29,53 +56,70 @@ This file is used to list changes made in each version of the xml cookbook.
|
||||
- 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](https://tickets.chef.io/browse/COOK-4304) - Now sets proper packages for SUSE 11
|
||||
|
||||
## v1.2.0
|
||||
|
||||
### Improvement
|
||||
|
||||
- **[COOK-3462](https://tickets.chef.io/browse/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
|
||||
|
||||
@@ -1,19 +1,15 @@
|
||||
<!-- This is a generated file. Please do not edit directly -->
|
||||
|
||||
# Maintainers
|
||||
This file lists how this cookbook project is maintained. When making changes to the system, this
|
||||
file tells you who needs to review your patch - you need a simple majority of maintainers
|
||||
for the relevant subsystems to provide a :+1: on your pull request. Additionally, you need
|
||||
to not receive a veto from a Lieutenant or the Project Lead.
|
||||
|
||||
Check out [How Cookbooks are Maintained](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD)
|
||||
for details on the process and how to become a maintainer or the project lead.
|
||||
This file lists how this cookbook project is maintained. When making changes to the system, this file tells you who needs to review your patch - you need a review from an existing maintainer for the cookbook to provide a :+1: on your pull request. Additionally, you need to not receive a veto from a Lieutenant or the Project Lead.
|
||||
|
||||
Check out [How Cookbooks are Maintained](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD) for details on the process and how to become a maintainer or the project lead.
|
||||
|
||||
# Project Maintainer
|
||||
* [Tim Smith](https://github.com/tas50)
|
||||
|
||||
# Maintainers
|
||||
* [Jennifer Davis](https://github.com/sigje)
|
||||
* [Sean OMeara](https://github.com/someara)
|
||||
* [Tim Smith](https://github.com/tas50)
|
||||
* [Thom May](https://github.com/thommay)
|
||||
|
||||
@@ -1,45 +1,57 @@
|
||||
# XML Cookbook
|
||||
|
||||
[](http://travis-ci.org/chef-cookbooks/xml) [](https://supermarket.chef.io/cookbooks/xml)
|
||||
|
||||
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
|
||||
- Arch Linux
|
||||
- Suse
|
||||
- FreeBSD
|
||||
|
||||
### Chef
|
||||
- Chef 11+
|
||||
|
||||
- Chef 12.1+
|
||||
|
||||
### 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:
|
||||
|
||||
```ruby
|
||||
node.set['xml']['compiletime'] = true
|
||||
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.
|
||||
|
||||
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](mailto:cookbooks@chef.io))
|
||||
|
||||
**Copyright:** 2009-2015, Chef Software, Inc.
|
||||
**Copyright:** 2009-2016, Chef Software, Inc.
|
||||
|
||||
```
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# Cookbook Name:: xml
|
||||
# Cookbook:: xml
|
||||
# Attributes:: default
|
||||
#
|
||||
# Copyright 2009-2015, Chef Software, Inc.
|
||||
# Copyright:: 2009-2017, 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.
|
||||
@@ -20,11 +20,11 @@
|
||||
default['xml']['compiletime'] = false
|
||||
|
||||
case node['platform_family']
|
||||
when 'rhel', 'fedora', 'suse'
|
||||
default['xml']['packages'] = %w(libxml2-devel libxslt-devel)
|
||||
when 'rhel', 'fedora', 'suse', 'amazon'
|
||||
default['xml']['packages'] = %w(libxml2-devel libxslt-devel zlib-devel)
|
||||
when 'debian'
|
||||
default['xml']['packages'] = %w(libxml2-dev libxslt-dev zlib1g-dev)
|
||||
when 'freebsd', 'arch'
|
||||
when 'freebsd'
|
||||
default['xml']['packages'] = %w(libxml2 libxslt)
|
||||
when 'mac_os_x'
|
||||
default['xml']['packages'] = %w(libxml2)
|
||||
|
||||
1
cookbooks/xml/attributes/ruby.rb
Normal file
1
cookbooks/xml/attributes/ruby.rb
Normal file
@@ -0,0 +1 @@
|
||||
default['build-essential']['compile_time'] = true
|
||||
@@ -1 +1 @@
|
||||
{"name":"xml","version":"2.0.0","description":"Installs xml","long_description":"# XML Cookbook\n[](http://travis-ci.org/chef-cookbooks/xml) [](https://supermarket.chef.io/cookbooks/xml)\n\nInstalls development package for libxml.\n\n## Requirements\n### Platforms\n- Debian/Ubuntu\n- RHEL/CentOS/Scientific/Amazon/Oracle\n- Arch Linux\n- Suse\n- FreeBSD\n\n### Chef\n- Chef 11+\n\n### Cookbooks\n- build-essential\n- chef-sugar\n\n## Attributes\n- `node['xml']['packages']` - Array of package names that should be installed\n- `node['xml']['nokogiri']['use_system_libraries']` - Whether to use system libraries for nokogiri (defaults to `false`)\n\n## Recipes\n### default\nInstalls the development packages for libxml2 and libxslt.\n\nFor installing the packages during compile time:\n\n```ruby\nnode.set['xml']['compiletime'] = true\ninclude_recipe 'xml::default'\n```\n\n### ruby\nInstalls 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.\n\n## License & Authors\n**Author:** Cookbook Engineering Team ([cookbooks@chef.io](mailto:cookbooks@chef.io))\n\n**Copyright:** 2009-2015, Chef Software, Inc.\n\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"amazon":">= 0.0.0","arch":">= 0.0.0","centos":">= 0.0.0","debian":">= 0.0.0","fedora":">= 0.0.0","freebsd":">= 0.0.0","oracle":">= 0.0.0","redhat":">= 0.0.0","scientific":">= 0.0.0","suse":">= 0.0.0","ubuntu":">= 0.0.0"},"dependencies":{"build-essential":">= 0.0.0","chef-sugar":">= 0.0.0"},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{"xml":"Installs libxml development packages"}}
|
||||
{"name":"xml","version":"3.1.2","description":"Installs xml","long_description":"# XML Cookbook\n\n[](http://travis-ci.org/chef-cookbooks/xml) [](https://supermarket.chef.io/cookbooks/xml)\n\nInstalls development package for libxml.\n\n## DEPRECATED\n\nnokogiri 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\n\n## Requirements\n\n### Platforms\n\n- Debian/Ubuntu\n- RHEL/CentOS/Scientific/Amazon/Oracle\n- Suse\n- FreeBSD\n\n### Chef\n\n- Chef 12.1+\n\n### Cookbooks\n\n- build-essential\n\n## Attributes\n\n- `node['xml']['packages']` - Array of package names that should be installed\n- `node['xml']['nokogiri']['use_system_libraries']` - Whether to use system libraries for nokogiri (defaults to `false`)\n\n## Recipes\n\n### default\n\nInstalls the development packages for libxml2 and libxslt.\n\nFor installing the packages during compile time:\n\n```ruby\nnode.normal['xml']['compiletime'] = true\ninclude_recipe 'xml::default'\n```\n\n### ruby\n\nInstalls 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.\n\n## License & Authors\n\n**Author:** Cookbook Engineering Team ([cookbooks@chef.io](mailto:cookbooks@chef.io))\n\n**Copyright:** 2009-2016, Chef Software, Inc.\n\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache-2.0","platforms":{"amazon":">= 0.0.0","centos":">= 0.0.0","debian":">= 0.0.0","fedora":">= 0.0.0","freebsd":">= 0.0.0","oracle":">= 0.0.0","redhat":">= 0.0.0","scientific":">= 0.0.0","suse":">= 0.0.0","ubuntu":">= 0.0.0"},"dependencies":{"build-essential":">= 0.0.0"},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{"xml":"Installs libxml development packages"},"source_url":"https://github.com/chef-cookbooks/xml","issues_url":"https://github.com/chef-cookbooks/xml/issues","chef_version":[[">= 12.1"]],"ohai_version":[]}
|
||||
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# Cookbook Name:: xml
|
||||
# Cookbook:: xml
|
||||
# Recipe:: default
|
||||
#
|
||||
# Copyright 2010-2015, Chef Software, Inc.
|
||||
# Copyright:: 2010-2017, 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.
|
||||
@@ -17,8 +17,10 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
node['xml']['packages'].each do |pkg|
|
||||
r = package pkg do
|
||||
if node['xml']['packages'].empty?
|
||||
Chef::Log.warn("No XML packages defined for installation in node['xml']['packages'] for your platform.")
|
||||
else
|
||||
r = package node['xml']['packages'] do
|
||||
action(node['xml']['compiletime'] ? :nothing : :install)
|
||||
end
|
||||
r.run_action(:install) if node['xml']['compiletime']
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#
|
||||
# Cookbook Name:: xml
|
||||
# Cookbook:: xml
|
||||
# Recipe:: ruby
|
||||
#
|
||||
# Author:: Joseph Holsten (<joseph@josephholsten.com>)
|
||||
#
|
||||
# Copyright 2008-2013, Chef Software, Inc.
|
||||
# Copyright:: 2008-2017, 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.
|
||||
@@ -19,14 +19,11 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
include_recipe 'chef-sugar'
|
||||
|
||||
execute 'apt-get update' do
|
||||
ignore_failure true
|
||||
action :nothing
|
||||
end.run_action(:run) if 'debian' == node['platform_family']
|
||||
|
||||
node.default['build-essential']['compile_time'] = true
|
||||
node.default['xml']['compiletime'] = true
|
||||
include_recipe 'build-essential::default'
|
||||
include_recipe 'xml::default'
|
||||
@@ -38,5 +35,5 @@ end
|
||||
chef_gem 'nokogiri' do
|
||||
version node['xml']['nokogiri']['version'] if node['xml']['nokogiri']['version']
|
||||
action :install
|
||||
compile_time true if defined? compile_time
|
||||
compile_time true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user