<commit_before>#
# Cookbook Name:: lamp
# Recipe:: default
#
# Copyright 2013, Mediacurrent
#
# All rights reserved - Do Not Redistribute

include_recipe 'apt'
# Must be above mysql to install make.
include_recipe 'build-essential'
include_recipe 'build-essential::debian'
include_recipe 'apache2'
include_recipe 'cron'
include_recipe 'database'
include_recipe 'mysql'
include_recipe 'openssl'
include_recipe 'php'
include_recipe 'apache2::mod_php5'
include_recipe 'apache2::mod_rewrite'
include_recipe 'database::mysql'
include_recipe 'mysql::client'
include_recipe 'mysql::ruby'
include_recipe 'mysql::server'
include_recipe 'php::module_apc'
include_recipe 'php::module_gd'
include_recipe 'php::module_mysql'

template "#{node['lamp']['php']['apache_conf_dir']}/php.ini" do
  source "php.ini.erb"
  owner "root"
  group "root"
  mode "0644"
end

# Add uploadprogress pecl package.
php_pear "uploadprogress" do
  action :install
end

package "mysqltuner" do
    action :install
end<commit_msg>Added php-curl to lamp recipe.<commit_after>#
# Cookbook Name:: lamp
# Recipe:: default
#
# Copyright 2013, Mediacurrent
#
# All rights reserved - Do Not Redistribute

include_recipe 'apt'
# Must be above mysql to install make.
include_recipe 'build-essential'
include_recipe 'build-essential::debian'
include_recipe 'apache2'
include_recipe 'cron'
include_recipe 'database'
include_recipe 'mysql'
include_recipe 'openssl'
include_recipe 'php'
include_recipe 'apache2::mod_php5'
include_recipe 'apache2::mod_rewrite'
include_recipe 'database::mysql'
include_recipe 'mysql::client'
include_recipe 'mysql::ruby'
include_recipe 'mysql::server'
include_recipe 'php::module_apc'
include_recipe 'php::module_gd'
include_recipe 'php::module_mysql'
include_recipe 'php::module_curl'

template "#{node['lamp']['php']['apache_conf_dir']}/php.ini" do
  source "php.ini.erb"
  owner "root"
  group "root"
  mode "0644"
end

# Add uploadprogress pecl package.
php_pear "uploadprogress" do
  action :install
end

package "mysqltuner" do
    action :install
end
{'fraction_non_alphanumeric': 0.11366976972072514, 'fraction_numerical': 0.011758941695247428, 'mean_word_length': 7.135458167330677, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2131959', 'n_tokens_mistral': 728, 'n_tokens_neox': 700, 'n_words': 177}