Exception: Chef::Provider::WindowsUnsupported::UnsupportedException
- Inherits:
-
StandardError
- Object
- StandardError
- Chef::Provider::WindowsUnsupported::UnsupportedException
- Defined in:
- lib/chef/providers/windows/unsupported_provider.rb
Instance Method Summary collapse
-
#initialize(resource) ⇒ UnsupportedException
constructor
A new instance of UnsupportedException.
Constructor Details
#initialize(resource) ⇒ UnsupportedException
Returns a new instance of UnsupportedException.
28 29 30 31 |
# File 'lib/chef/providers/windows/unsupported_provider.rb', line 28 def initialize(resource) = "The \"#{resource.resource_name}\" resource referenced in recipe \"#{resource.cookbook_name}::#{resource.recipe_name}\" is not supported on Windows." super() end |