bin/check-chef-node.rb in sensu-plugins-chef-2.0.0 vs bin/check-chef-node.rb in sensu-plugins-chef-2.0.1
- old
+ new
@@ -25,10 +25,10 @@
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.
#
require 'sensu-plugin/check/cli'
-require 'chef'
+require 'chef/rest'
class ChefNodeChecker < Sensu::Plugin::Check::CLI
option :node_name,
description: 'Check if this node name exists',
short: '-n NODE-NAME',