Skip to content

Commit

Permalink
added apache:install task
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information
sbl authored and josh committed Jan 15, 2009
1 parent 42ba6b8 commit 0be3202
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/capistrano/ext/slicehost/apache.rb
Expand Up @@ -81,4 +81,9 @@
put render("vhost", binding), application
sudo "mv #{application} /etc/apache2/sites-available/#{application}"
end

desc "Install Apache"
task :install, :roles => :web do
sudo "aptitude install -y apache2 apache2.2-common apache2-mpm-prefork apache2-utils libexpat1 ssl-cert"
end
end

0 comments on commit 0be3202

Please sign in to comment.