bin/check-chef-nodes.rb in sensu-plugins-chef-4.0.0 vs bin/check-chef-nodes.rb in sensu-plugins-chef-5.0.0
- old
+ new
@@ -72,12 +72,13 @@
short: '-e EXCLUDE-NODES',
long: '--exclude-nodes EXCLUDE-NODES',
default: '^$'
option :grace_period,
- description: 'The ammount of time before a node should be evaluated for failed convergence',
+ description: 'The amount of time before a node should be evaluated for failed convergence',
long: '--grace-period SECONDS',
- default: (60 * 5), # default 5 minutes, which seems like a good but not great default
+ # default 5 minutes, which seems like a good but not great default
+ default: (60 * 5),
proc: proc(&:to_i)
option :ignore_ssl_verification,
description: 'Ignore SSL certificate verification',
short: '-i',