Skip to content

Commit

Permalink
Better support for Windows in some cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Oct 2, 2010
1 parent 6f2b1f4 commit a8f3192
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rubber/recipes/rubber/instances.rb
Expand Up @@ -42,7 +42,7 @@
Refresh the host data for a EC2 instance with the given ALIAS.
This is useful to run when rubber:create fails after instance creation
DESC
task :refresh do
required_task :refresh do
instance_alias = get_env('ALIAS', "Instance alias (e.g. web01)", true)
ENV.delete('ROLES') # so we don't get an error if people leave ROLES in env from :create CLI
refresh_instance(instance_alias)
Expand All @@ -51,7 +51,7 @@
desc <<-DESC
Destroy the EC2 instance for the given ALIAS
DESC
task :destroy do
required_task :destroy do
instance_alias = get_env('ALIAS', "Instance alias (e.g. web01)", true)
ENV.delete('ROLES') # so we don't get an error if people leave ROLES in env from :create CLI
destroy_instance(instance_alias)
Expand All @@ -60,7 +60,7 @@
desc <<-DESC
Destroy ALL the EC2 instances for the current env
DESC
task :destroy_all do
required_task :destroy_all do
rubber_instances.each do |ic|
destroy_instance(ic.name)
end
Expand Down

0 comments on commit a8f3192

Please sign in to comment.