class Chef::Exceptions::NoSuchResourceType
Can’t find a Resource
of this type that is valid on this platform.
Public Class Methods
new(short_name, node)
click to toggle source
Calls superclass method
# File lib/chef/exceptions.rb, line 137 def initialize(short_name, node) super "Cannot find a resource for #{short_name} on #{node[:platform]} version #{node[:platform_version]} with target_mode? #{Chef::Config.target_mode?}" end