Module: Chef::Sugar::Kitchen
Instance Method Summary collapse
-
#kitchen?(node) ⇒ Boolean
Returns true if the current node is provisioned by Test Kitchen.
Instance Method Details
#kitchen?(node) ⇒ Boolean
Returns true if the current node is provisioned by Test Kitchen.
32 33 34 |
# File 'lib/chef/sugar/kitchen.rb', line 32 def kitchen?(node) !ENV['TEST_KITCHEN'].nil? end |