Sha256: 659f88bc451701959e38d11f9689449f12ba7fc2c66282c172c466cc08b9bf5a
Contents?: true
Size: 784 Bytes
Versions: 15
Compression:
Stored size: 784 Bytes
Contents
require "chef/mixin/descendants_tracker" class Chef module Mixin module Provides # @todo no longer needed, remove or deprecate? include Chef::Mixin::DescendantsTracker def provides(short_name, opts = {}) 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 def provides?(node, resource) raise NotImplementedError, :provides? end # Get the list of recipe DSL this resource is responsible for on the given # node. def provided_as(node) node_map.list(node) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems