Update cookbooks for Ubuntu 16.04 TLS
This commit is contained in:
@@ -10,7 +10,15 @@
|
||||
include_recipe "apt"
|
||||
|
||||
include_recipe "php::default"
|
||||
include_recipe "php::module_apc"
|
||||
|
||||
if node['platform'] == 'ubuntu' and node['platform_version'] >= '16.04'
|
||||
# APC is now apcu in PHP 7
|
||||
include_recipe "php::module_apcu"
|
||||
# Dependency
|
||||
package "php7.0-mbstring"
|
||||
else
|
||||
include_recipe "php::module_apc"
|
||||
end
|
||||
include_recipe "php::module_mysql"
|
||||
|
||||
include_recipe "mediawiki::database"
|
||||
@@ -38,8 +46,11 @@ when "debian"
|
||||
package "libicu-dev"
|
||||
end
|
||||
|
||||
php_pear "intl" do
|
||||
action :install
|
||||
if platform?('ubuntu') && node[:platform_version].to_f < 16.04
|
||||
# bundled with PHP since version 5.3
|
||||
php_pear "intl" do
|
||||
action :install
|
||||
end
|
||||
end
|
||||
|
||||
# Configure mediawiki database
|
||||
|
||||
Reference in New Issue
Block a user