lib/awsborn/rake.rb in awsborn-0.4.0 vs lib/awsborn/rake.rb in awsborn-0.5.0
- old
+ new
@@ -9,10 +9,13 @@
desc "Default: Start all servers (if needed) and deploy with chef."
task :all => [:start, "chef:run"]
task :default => :all
- desc "Start all servers (or host=name1,name2)."
+ desc "Like 'all' but with chef debugging on."
+ task :debug => ["chef:set_chef_debug", :all]
+
+ desc "Start all servers (or host=name1,name2) but don't run chef."
task :start do |t,args|
hosts = args[:host] && args[:host].split(',')
default_cluster.launch hosts
end
\ No newline at end of file