module Chef::Mixin::Provides
Public Instance Methods
Source
# File lib/chef/mixin/provides.rb, line 24 def provided_as(node) node_map.list(node) end
Get the list of recipe DSL
this resource is responsible for on the given node.
Source
# File lib/chef/mixin/provides.rb, line 10 def provides(short_name, opts = {}) raise NotImplementedError, :provides end
Source
# File lib/chef/mixin/provides.rb, line 18 def provides?(node, resource) raise NotImplementedError, :provides? end
Check whether this resource provides the resource_name DSL
for the given node. @todo remove this when we stop checking unregistered things. FIXME: yard with @yield