axtro-rubber 1.0.2.5 → 1.0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rubber/recipes/rubber/volumes.rb +2 -4
- metadata +1 -1
@@ -96,11 +96,9 @@ namespace :rubber do
|
|
96
96
|
print "."
|
97
97
|
sleep 2
|
98
98
|
volume = cloud.describe_volumes(vol_id).first
|
99
|
-
break if volume[:status] == "in-use"
|
99
|
+
break if volume[:status] == "in-use" and volume[:attachment_status] == "attached"
|
100
100
|
end
|
101
|
-
|
102
|
-
print "Waiting an extra 15s just to make sure... :)"
|
103
|
-
sleep 15
|
101
|
+
sleep 2
|
104
102
|
print "\n"
|
105
103
|
|
106
104
|
# we don't mount/format at this time if we are doing a RAID array
|