module ChefUtils::DSL::Backend
Public Instance Methods
Source
# File lib/chef-utils/dsl/backend.rb, line 12 def local_mode? node["platform_backend"] == "local" end
Determine if the backend is local
@param [Chef::Node] node the node to check
@return [Boolean]
Source
# File lib/chef-utils/dsl/backend.rb, line 22 def target_mode? node["platform_backend"] != "local" end
Determine if the backend is remote
@param [Chef::Node] node the node to check
@return [Boolean]