Exception: Chef::Provider::WindowsUnsupported::UnsupportedException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chef/providers/windows/unsupported_provider.rb

Instance Method Summary collapse

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)
  message = "The \"#{resource.resource_name}\" resource referenced in recipe \"#{resource.cookbook_name}::#{resource.recipe_name}\" is not supported on Windows."
  super(message)
end