Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

Commit

Permalink
haproxy-1.4.15
Browse files Browse the repository at this point in the history
  • Loading branch information
mbailey committed Jul 10, 2011
1 parent d0e815d commit 20a1527
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions lib/deprec/recipes/haproxy.rb
Expand Up @@ -4,30 +4,26 @@
namespace :haproxy do

SRC_PACKAGES[:haproxy] = {
:md5sum => "4f0638652d7800860838dc195da335d8 haproxy-1.4.11.tar.gz",
:url => "http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.11.tar.gz",
:md5sum => "c1b4fc6028c6d8e23dde8c91ff47eabe haproxy-1.4.15.tar.gz",
:url => "http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.15.tar.gz",
:configure => '',
:make => "make TARGET=linux26"
}

desc "Install haproxy"
task :install, :roles => :haproxy do
install_deps
deprec2.download_src(SRC_PACKAGES[:haproxy], src_dir)
deprec2.install_from_src(SRC_PACKAGES[:haproxy], src_dir)
config
activate
create_check_file
# create_check_file
end

# default config expects this file in web root
task :create_check_file, :roles => :haproxy do
sudo "test -d /var/www && #{sudo} touch /var/www/check.txt"
end

task :install_deps, :roles => :haproxy do
apt.install( {:base => %w(build-essential)}, :stable )
end

SYSTEM_CONFIG_FILES[:haproxy] = [

Expand All @@ -45,10 +41,6 @@

PROJECT_CONFIG_FILES[:haproxy] = [

# {:template => "example.conf.erb",
# :path => 'conf/example.conf',
# :mode => 0755,
# :owner => 'root:root'}
]

desc "Generate configuration files for haproxy from template(s)"
Expand Down

0 comments on commit 20a1527

Please sign in to comment.