timeout if cycling a server takes longer than inservice_time_allowed

This commit is contained in:
Anuj Biyani
2013-06-03 18:51:01 -07:00
parent 55e60a989e
commit 07fc0390f7
6 changed files with 28 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
begin
require 'aws-sdk'
require 'trollop'
require 'timeout'
rescue LoadError => e
puts "The #{e.message.split('-').last.strip} gem must be installed."
raise