lib/opsworks/cli/subcommands/update.rb in opsworks-cli-0.3.0 vs lib/opsworks/cli/subcommands/update.rb in opsworks-cli-0.3.1
- old
+ new
@@ -12,10 +12,10 @@
include Helpers::Keychain
include Helpers::Options
desc 'update [--stack STACK]', 'Update OpsWorks custom cookbooks'
option :stack, type: :array
- option :timeout, type: :numeric
+ option :timeout, type: :numeric, default: 300
def update
fetch_keychain_credentials unless env_credentials?
stacks = parse_stacks(options.merge(active: true))
deployments = stacks.map do |stack|
say "Updating #{stack.name}..."