module Chef::Sugar::Kitchen
Public Instance Methods
kitchen?(node)
click to toggle source
Returns true if the current node is provisioned by Test Kitchen
.
@param [Chef::Node] node
the node to check
@return [Boolean]
# File lib/chef/sugar/kitchen.rb, line 32 def kitchen?(node) !ENV['TEST_KITCHEN'].nil? end