improvement: skip package resource if not supported on OS

This commit is contained in:
Christoph Hartmann 2015-09-15 09:41:01 +02:00 committed by Dominik Richter
parent a88304d030
commit 05dd53b5b4

View file

@ -26,7 +26,7 @@ class Package < Vulcano.resource(1)
when 'darwin'
@pkgman = Brew.new(vulcano)
else
fail 'The `package` resource is not supported on your OS yet. Please open an issue on Github.'
return skip_resource 'The `package` resource is not supported on your OS yet.'
end
end