Exception: Chef::Exceptions::AmbiguousProviderResolution

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/chef/exceptions.rb

Overview

Raised by Chef::ProviderResolver

Instance Method Summary collapse

Constructor Details

#initialize(resource, classes) ⇒ AmbiguousProviderResolution

Returns a new instance of AmbiguousProviderResolution


440
441
442
# File 'lib/chef/exceptions.rb', line 440

def initialize(resource, classes)
  super "Found more than one provider for #{resource.resource_name} resource: #{classes}"
end