axtro-rubber 1.0.2.5 → 1.0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|