Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# Cookbook Name:: xml
|
||||
# Recipe:: default
|
||||
# Attributes:: default
|
||||
#
|
||||
# Copyright 2010-2013, Chef Software, Inc.
|
||||
# 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.
|
||||
@@ -22,14 +22,15 @@ default['xml']['compiletime'] = false
|
||||
case node['platform_family']
|
||||
when 'rhel', 'fedora', 'suse'
|
||||
default['xml']['packages'] = %w(libxml2-devel libxslt-devel)
|
||||
when 'ubuntu', 'debian'
|
||||
default['xml']['packages'] = %w(libxml2-dev libxslt-dev)
|
||||
when 'debian'
|
||||
default['xml']['packages'] = %w(libxml2-dev libxslt-dev zlib1g-dev)
|
||||
when 'freebsd', 'arch'
|
||||
default['xml']['packages'] = %w(libxml2 libxslt)
|
||||
when 'mac_os_x'
|
||||
default['xml']['packages'] = %w(libxml2)
|
||||
else
|
||||
default['xml']['packages'] = []
|
||||
end
|
||||
|
||||
default['xml']['nokogiri']['use_system_libraries'] = false
|
||||
|
||||
# Newest versions will not compile with system libraries
|
||||
# https://github.com/sparklemotion/nokogiri/issues/1099
|
||||
default['xml']['nokogiri']['version'] = '1.6.2.1'
|
||||
default['xml']['nokogiri']['version'] = nil
|
||||
|
||||
Reference in New Issue
Block a user