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.



479
480
481
# File 'lib/chef/exceptions.rb', line 479

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