Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
r8 committed Mar 24, 2015
2 parents 2a32195 + bbfeb25 commit 2e43566
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 166 deletions.
5 changes: 0 additions & 5 deletions cookbooks/php-box/CHANGELOG.md

This file was deleted.

38 changes: 0 additions & 38 deletions cookbooks/php-box/metadata.json

This file was deleted.

15 changes: 0 additions & 15 deletions cookbooks/php-box/metadata.rb

This file was deleted.

40 changes: 0 additions & 40 deletions cookbooks/php-box/recipes/default.rb

This file was deleted.

7 changes: 0 additions & 7 deletions cookbooks/vagrant_main/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@
override['nodejs']['binary']['checksum']['linux_x64'] = '3bdb7267ca7ee24ac59c54ae146741f70a6ae3a8a8afd42d06204647fe9d4206'
override['nodejs']['binary']['checksum']['linux_x86'] = 'd4130512228439bf9115b7057fe145b095c1e49fa8e62c8d3e192b3dd3fe821b'

<<<<<<< HEAD
override['npm']['version'] = '1.3.11'

override['drush']['install_method'] = "git"
override['drush']['version'] = "8.x-6.x"
=======
override['npm']['version'] = '2.7.4'

override['postfix']['main']['relayhost'] = 'localhost:1025'

include_attribute 'vagrant_main::php'
>>>>>>> develop
61 changes: 0 additions & 61 deletions cookbooks/vagrant_main/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@
package a_package
end

<<<<<<< HEAD
# Install ruby gems
%w{ rdoc mailcatcher }.each do |a_gem|
gem_package a_gem
end

gem_package "rake" do
version "0.8.7"
end

=======
>>>>>>> develop
# Generate selfsigned ssl
execute "make-ssl-cert" do
command "make-ssl-cert generate-default-snakeoil --force-overwrite"
Expand Down Expand Up @@ -70,10 +58,7 @@
server_aliases site["aliases"]
server_include site["include"]
docroot site["docroot"]?site["docroot"]:"/vagrant/public/#{site["host"]}"
<<<<<<< HEAD
=======
notifies :restart, resources("service[apache2]"), :delayed
>>>>>>> develop
end

# Add site info in /etc/hosts
Expand Down Expand Up @@ -146,51 +131,6 @@
action :install
end

<<<<<<< HEAD
# Setup MailCatcher
bash "mailcatcher" do
code "mailcatcher --http-ip 0.0.0.0 --smtp-port 25"
not_if "ps ax | grep -v grep | grep mailcatcher";
end
template "#{node['php']['ext_conf_dir']}/mailcatcher.ini" do
source "mailcatcher.ini.erb"
owner "root"
group "root"
mode "0644"
action :create
notifies :restart, resources("service[apache2]"), :delayed
end
cookbook_file "/etc/rc.local" do
source "rc.local"
owner "root"
group "root"
mode "0755"
action :create
end

# Fixing deprecated php comments style in ini files
bash "deploy" do
code "sudo perl -pi -e 's/(\s*)#/$1;/' /etc/php5/cli/conf.d/*ini"
notifies :restart, resources("service[apache2]"), :delayed
end

# Install Percona Toolkit
bash "percona-key" do
# Install percona repo key.
# We can't use 'apt' recipe, because this command should be run with sudo
code "sudo apt-key adv --keyserver keys.gnupg.net --recv 1C4CBDCDCD2EFD2A"
end
apt_repository "percona" do
uri "http://repo.percona.com/apt"
components ["main"]
distribution "lucid"
end
bash "apt-get-update" do
code "sudo apt-get update"
end
%w{ libmysqlclient16 percona-toolkit }.each do |a_package|
package a_package
=======
# Enable installed php extensions
case node['platform']
when 'ubuntu'
Expand All @@ -202,5 +142,4 @@
end
end
else
>>>>>>> develop
end

0 comments on commit 2e43566

Please sign in to comment.