Exception: Chef::Exceptions::AmbiguousProviderResolution
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Chef::Exceptions::AmbiguousProviderResolution
- Defined in:
- lib/chef/exceptions.rb
Overview
Raised by Chef::ProviderResolver
Instance Method Summary collapse
-
#initialize(resource, classes) ⇒ AmbiguousProviderResolution
constructor
A new instance of AmbiguousProviderResolution.
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 |