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

Commit

Permalink
apache:install will now ask for a server name if it is not set.
Browse files Browse the repository at this point in the history
  • Loading branch information
FiXato committed Sep 18, 2009
1 parent dfe5f03 commit 13f8dee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/capistrano/ext/ubuntu-machine/apache.rb
Expand Up @@ -4,6 +4,7 @@
desc "Install Apache"
task :install, :roles => :web do
sudo "apt-get install apache2 apache2.2-common apache2-mpm-prefork apache2-utils libexpat1 ssl-cert -y"
_cset(:server_name) {Capistrano::CLI.ui.ask("Server name : ")}

run "cat /etc/apache2/apache2.conf > ~/apache2.conf.tmp"
put render("apache2", binding), "apache2.append.conf.tmp"
Expand Down

0 comments on commit 13f8dee

Please sign in to comment.