# File lib/fog/terremark/models/shared/server.rb, line 109 def shutdown requires :id begin connection.power_shutdown(id) rescue Excon::Errors::InternalServerError => e #Frankly we shouldn't get here ... raise e unless e.to_s =~ /because it is already powered off/ end true end