Skip to content

Commit 7a9b079

Browse files
committed
Add apache:configtest capistrano task
1 parent a1c4276 commit 7a9b079

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

ChangeLog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
0.2.2 - 2012-08-27
2+
3+
Enhancements:
4+
5+
* Add apache:configtest capistrano task
6+
7+
cap apache:configtest
8+
9+
Bug Fixes:
10+
11+
* Spelling corrections

lib/easy-deployment/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Easy
22
module Deployment
3-
VERSION = "0.2.1"
3+
VERSION = "0.2.2"
44
end
55
end

lib/easy/deployment/apache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
run "ln -fs /etc/apache2/sites-available/#{application} /etc/apache2/sites-enabled/#{application}"
1010
end
1111

12-
[:stop, :start, :restart, :graceful].each do |action|
12+
[:stop, :start, :restart, :graceful, :configtest].each do |action|
1313
desc (action == :graceful ? "Restart Apache gracefully" : "#{action.to_s.capitalize} Apache")
1414
task action, :roles => :web do
1515
run "sudo apache2ctl #{action.to_s}"

0 commit comments

Comments
 (0)